Prechádzať zdrojové kódy

Merge pull request #54 from xyzz/fix_cgpregame_runlocked_crash

Fixed crash, "pure virtual method called", when calling doUpdate lambda from CGPreGame
Alexander Shishkin 11 rokov pred
rodič
commit
0b1ee70e56
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      client/gui/CIntObject.h

+ 1 - 1
client/gui/CIntObject.h

@@ -38,7 +38,7 @@ public:
 	virtual ~IUpdateable(){}; //d-tor
 };
 
-class ILockedUpdatable: protected IUpdateable
+class ILockedUpdatable: public IUpdateable
 {
 	boost::recursive_mutex updateGuard;
 public: