From bd309179e37dc4af4b7ce3c3df9526f157fc5cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Wed, 16 Jun 2021 19:50:21 +0200 Subject: [PATCH] fixing emscrippten warning and fixing windows artefact name --- .github/workflows/build_windows.yml | 2 +- lib/wal/sources/System/System.hpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index a557a5f9..6e6b3998 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -38,5 +38,5 @@ jobs: - name: Archive production artifact for Windows binary uses: actions/upload-artifact@v1 with: - name: BombermanWindow + name: BombermanWindows.exe path: build/Debug/bomberman.exe diff --git a/lib/wal/sources/System/System.hpp b/lib/wal/sources/System/System.hpp index 88a1c73b..2a6a9b1b 100644 --- a/lib/wal/sources/System/System.hpp +++ b/lib/wal/sources/System/System.hpp @@ -71,9 +71,11 @@ namespace WAL explicit System(Wal &wal) : _wal(wal) {} + + public: //! @brief A system can't be instantiated, it should be derived. - System(const System &) = default; + System(const System &) = delete; //! @brief A system can't be instantiated, it should be derived. - System &operator=(const System &) = default; + System &operator=(const System &) = delete; }; } // namespace WAL \ No newline at end of file