From: Mikko Rasa Date: Sun, 31 Oct 2021 11:29:06 +0000 (+0200) Subject: Remove unnecessary private copy constructors X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9b38e20254913629a0db40e8eb8e1c42e1728e41;p=libs%2Fcore.git Remove unnecessary private copy constructors These classes already inherit NonCopyable. --- diff --git a/source/core/application.h b/source/core/application.h index 8ff286f..019dee1 100644 --- a/source/core/application.h +++ b/source/core/application.h @@ -33,8 +33,6 @@ private: static std::string name_; static void *data_; - Application(const Application &); - Application &operator=(const Application &); protected: Application(const std::string & = std::string()); public: diff --git a/source/debug/profilingscope.h b/source/debug/profilingscope.h index 50b84ff..69d1c49 100644 --- a/source/debug/profilingscope.h +++ b/source/debug/profilingscope.h @@ -23,8 +23,6 @@ private: Time::TimeDelta time_spent; Time::TimeDelta child_time; - ProfilingScope(const ProfilingScope &); - ProfilingScope &operator=(const ProfilingScope &); public: ProfilingScope(Profiler &p, const std::string &n); ~ProfilingScope();