From b71d985d49fec833183b819bf7f8ec9cd33ef3b1 Mon Sep 17 00:00:00 2001
From: AlexVinS <alexvins@users.noreply.github.com>
Date: Sun, 15 Feb 2015 01:46:47 +0300
Subject: [PATCH] cleanup

---
 client/gui/CIntObject.cpp | 6 ------
 client/gui/CIntObject.h   | 3 +--
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/client/gui/CIntObject.cpp b/client/gui/CIntObject.cpp
index 13f960c19..8fa3b3025 100644
--- a/client/gui/CIntObject.cpp
+++ b/client/gui/CIntObject.cpp
@@ -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),
diff --git a/client/gui/CIntObject.h b/client/gui/CIntObject.h
index 66dd51212..9242bb09e 100644
--- a/client/gui/CIntObject.h
+++ b/client/gui/CIntObject.h
@@ -40,9 +40,8 @@ public:
 
 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
 };