]> git.tdb.fi Git - libs/core.git/commitdiff
Remove unnecessary private copy constructors
authorMikko Rasa <tdb@tdb.fi>
Sun, 31 Oct 2021 11:29:06 +0000 (13:29 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 31 Oct 2021 18:27:42 +0000 (20:27 +0200)
These classes already inherit NonCopyable.

source/core/application.h
source/debug/profilingscope.h

index 8ff286f3e2cc3202de01d85247a3126191128cbf..019dee1f3793f1ff0c10203e760b3cd02a17d9b2 100644 (file)
@@ -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:
index 50b84ff2b3fe7992fcb0e1af51aac3b534a268ed..69d1c49baa346388638014c5dcc66b5387eb27d0 100644 (file)
@@ -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();