X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdebug%2Fprofilingscope.h;h=586efa31d53fbf062a175ae7a44fb1e31897ac3f;hb=178c4490f6dde563d80fb2bc483b5c9e8a538ea9;hp=50b84ff2b3fe7992fcb0e1af51aac3b534a268ed;hpb=122846f0881673770d88eff7d925ecf25c01b62e;p=libs%2Fcore.git diff --git a/source/debug/profilingscope.h b/source/debug/profilingscope.h index 50b84ff..586efa3 100644 --- a/source/debug/profilingscope.h +++ b/source/debug/profilingscope.h @@ -18,13 +18,11 @@ class ProfilingScope: private NonCopyable private: Profiler &profiler; std::string name; - ProfilingScope *parent = 0; + ProfilingScope *parent = nullptr; Time::TimeStamp entry_time; Time::TimeDelta time_spent; Time::TimeDelta child_time; - ProfilingScope(const ProfilingScope &); - ProfilingScope &operator=(const ProfilingScope &); public: ProfilingScope(Profiler &p, const std::string &n); ~ProfilingScope();