diff --git a/headers/enduro2d/high/asset.hpp b/headers/enduro2d/high/asset.hpp index cd0c4771..c0ec75e9 100644 --- a/headers/enduro2d/high/asset.hpp +++ b/headers/enduro2d/high/asset.hpp @@ -91,7 +91,7 @@ namespace e2d }; template < typename Asset > - class typed_asset_cache : public asset_cache { + class typed_asset_cache final : public asset_cache { public: using asset_ptr = typename Asset::ptr; public: diff --git a/headers/enduro2d/high/factory.hpp b/headers/enduro2d/high/factory.hpp index c4ca86a6..231186a3 100644 --- a/headers/enduro2d/high/factory.hpp +++ b/headers/enduro2d/high/factory.hpp @@ -111,7 +111,7 @@ namespace e2d // factory // - class factory : public module { + class factory final : public module { public: factory() = default; ~factory() noexcept final = default; diff --git a/headers/enduro2d/high/inspector.hpp b/headers/enduro2d/high/inspector.hpp index 63901962..c96377fe 100644 --- a/headers/enduro2d/high/inspector.hpp +++ b/headers/enduro2d/high/inspector.hpp @@ -187,7 +187,7 @@ namespace e2d // inspector // - class inspector : public module { + class inspector final : public module { public: inspector() = default; ~inspector() noexcept final = default; diff --git a/sources/enduro2d/utils/filesystem_impl/files_posix.cpp b/sources/enduro2d/utils/filesystem_impl/files_posix.cpp index 91e0026b..842d0a01 100644 --- a/sources/enduro2d/utils/filesystem_impl/files_posix.cpp +++ b/sources/enduro2d/utils/filesystem_impl/files_posix.cpp @@ -101,7 +101,7 @@ namespace int handle_ = -1; }; - class write_file_posix : public write_file { + class write_file_posix final : public write_file { public: write_file_posix(str path, bool append) : path_(std::move(path)) diff --git a/sources/enduro2d/utils/filesystem_impl/files_winapi.cpp b/sources/enduro2d/utils/filesystem_impl/files_winapi.cpp index b4630ed4..6206e8a2 100644 --- a/sources/enduro2d/utils/filesystem_impl/files_winapi.cpp +++ b/sources/enduro2d/utils/filesystem_impl/files_winapi.cpp @@ -14,7 +14,7 @@ namespace { using namespace e2d; - class read_file_winapi : public read_file { + class read_file_winapi final : public read_file { public: read_file_winapi(str path) : path_(std::move(path)) @@ -120,7 +120,7 @@ namespace HANDLE handle_ = INVALID_HANDLE_VALUE; }; - class write_file_winapi : public write_file { + class write_file_winapi final : public write_file { public: write_file_winapi(str path, bool append) : path_(std::move(path))