From 9b38e20254913629a0db40e8eb8e1c42e1728e41 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 31 Oct 2021 13:29:06 +0200 Subject: [PATCH] Remove unnecessary private copy constructors These classes already inherit NonCopyable. --- source/core/application.h | 2 -- source/debug/profilingscope.h | 2 -- 2 files changed, 4 deletions(-) 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(); -- 2.45.2