X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..2e4de7bb1dcdf34bce1769c34c7cd42fb64637e2:/projects/stargazer/eventloop.h?ds=sidebyside diff --git a/projects/stargazer/eventloop.h b/projects/stargazer/eventloop.h index e1b7f6aa..35de3675 100644 --- a/projects/stargazer/eventloop.h +++ b/projects/stargazer/eventloop.h @@ -3,7 +3,7 @@ #include -#include "noncopyable.h" +#include "stg/noncopyable.h" #include "actions.h" class EVENT_LOOP : private NONCOPYABLE, @@ -12,7 +12,7 @@ class EVENT_LOOP : private NONCOPYABLE, public: bool Start(); bool Stop(); - bool IsRunning() const { return _running; }; + bool IsRunning() const { return _running; } template void Enqueue(ACTIVE_CLASS & ac, @@ -44,8 +44,8 @@ class EVENT_LOOP_SINGLETON : private NONCOPYABLE static EVENT_LOOP * _instance; static void CreateInstance(); - EVENT_LOOP_SINGLETON() {}; - ~EVENT_LOOP_SINGLETON() {}; + EVENT_LOOP_SINGLETON() {} + ~EVENT_LOOP_SINGLETON() {} }; template