X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdebug%2Fprofilingscope.h;h=7b8bcf375108c5a42ff80f98780571c2ab2bfda5;hb=6af098355f2b037a6f8084f9f6c741e462ffa614;hp=586efa31d53fbf062a175ae7a44fb1e31897ac3f;hpb=5d51c374869f13f762039f58c03f3c5d75c12f07;p=libs%2Fcore.git diff --git a/source/debug/profilingscope.h b/source/debug/profilingscope.h index 586efa3..7b8bcf3 100644 --- a/source/debug/profilingscope.h +++ b/source/debug/profilingscope.h @@ -1,6 +1,7 @@ #ifndef MSP_DEBUG_PROFILINGSCOPE_H_ #define MSP_DEBUG_PROFILINGSCOPE_H_ +#include #include #include #include "profiler.h" @@ -13,7 +14,7 @@ RAII timing class to accompany Profiler. Timing starts when an object is created and ends when it goes out of scope. If there was another object in an outer scope, it is notified of the time used in inner scopes. */ -class ProfilingScope: private NonCopyable +class MSPCORE_API ProfilingScope: private NonCopyable { private: Profiler &profiler;