X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Fprofilingscope.h;h=586efa31d53fbf062a175ae7a44fb1e31897ac3f;hp=50b84ff2b3fe7992fcb0e1af51aac3b534a268ed;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=122846f0881673770d88eff7d925ecf25c01b62e 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();