diff --git a/src/myx/filesystem/paths.hpp b/src/myx/filesystem/paths.hpp index 812a5a9..2b474f6 100644 --- a/src/myx/filesystem/paths.hpp +++ b/src/myx/filesystem/paths.hpp @@ -89,10 +89,13 @@ class Paths protected: Paths(); ~Paths() = default; - Paths( const Paths& ) = delete; // NOLINT - Paths& operator=( const Paths& ) = delete; // NOLINT public: + Paths( const Paths& ) = delete; + Paths& operator=( const Paths& ) = delete; + Paths( Paths&& ) = delete; + Paths& operator=( Paths&& ) = delete; + /** * @brief getInstance * @return Уникальный экземпляр класса Paths diff --git a/src/myx/filesystem/paths_mt.hpp b/src/myx/filesystem/paths_mt.hpp index 0d3e4c2..16915d0 100644 --- a/src/myx/filesystem/paths_mt.hpp +++ b/src/myx/filesystem/paths_mt.hpp @@ -30,13 +30,17 @@ class PathsMT : public Paths { PathsMT(); ~PathsMT() = default; - PathsMT( const PathsMT& ) = delete; // NOLINT - PathsMT& operator=( const PathsMT& ) = delete; // NOLINT static std::atomic< PathsMT* > mInstance; static std::mutex mMutex; + public: + PathsMT( const PathsMT& ) = delete; + PathsMT& operator=( const PathsMT& ) = delete; + PathsMT( PathsMT&& ) = delete; + PathsMT& operator=( PathsMT&& ) = delete; + /** * @brief getInstance * @return Уникальный экземпляр класса PathsMT