mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
fix gcc 4.4 compile error
This commit is contained in:
@@ -113,8 +113,8 @@ int main(int argc, const char *argv[])
|
||||
|
||||
// state scope
|
||||
{
|
||||
boost::shared_ptr<MenuState> initialState(new MenuState);
|
||||
//boost::shared_ptr<TestState> initialState(new TestState);
|
||||
boost::scoped_ptr<MenuState> initialState(new MenuState);
|
||||
//boost::scoped_ptr<TestState> initialState(new TestState);
|
||||
g_dispatcher.addTask(boost::bind(&Engine::changeState, &g_engine, initialState.get()));
|
||||
|
||||
Platform::showWindow();
|
||||
|
||||
Reference in New Issue
Block a user