Skip to content
Permalink
Browse files

cleanup

  • Loading branch information
alexvins committed Feb 14, 2015
1 parent aa5e9fc commit b71d985d49fec833183b819bf7f8ec9cd33ef3b1
Showing with 1 addition and 8 deletions.
  1. +0 −6 client/gui/CIntObject.cpp
  2. +1 −2 client/gui/CIntObject.h
@@ -10,12 +10,6 @@ IShowActivatable::IShowActivatable()
type = 0;
}

void ILockedUpdatable::runLocked(std::function<void(IUpdateable*)> cb)
{
boost::unique_lock<boost::recursive_mutex> lock(updateGuard);
cb(this);
}

CIntObject::CIntObject(int used_, Point pos_):
parent_m(nullptr),
active_m(0),
@@ -40,9 +40,8 @@ class IUpdateable

class ILockedUpdatable: public IUpdateable
{
boost::recursive_mutex updateGuard;
public:
virtual void runLocked(std::function<void(IUpdateable * )> cb);
virtual void runLocked(std::function<void(IUpdateable * )> cb) = 0;
virtual ~ILockedUpdatable(){}; //d-tor
};

0 comments on commit b71d985

Please sign in to comment.
You can’t perform that action at this time.