Skip to content

Commit

Permalink
fixup c8699e2
Browse files Browse the repository at this point in the history
When I removed the wesnoth built-in timeouts, I didn't completely
revert some of the changes, I left and include and didn't change
a shared_ptr back to scoped_ptr.
  • Loading branch information
cbeck88 committed Jun 3, 2014
1 parent deeaaa7 commit f364f21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/game.cpp
Expand Up @@ -51,7 +51,6 @@
#include <boost/iostreams/filter/gzip.hpp>

#include <SDL.h>
#include <SDL_thread.h>


#ifdef HAVE_VISUAL_LEAK_DETECTOR
Expand Down Expand Up @@ -435,7 +434,7 @@ static int do_gameloop(int argc, char** argv)
return finished;
}

boost::shared_ptr<game_controller> game(
boost::scoped_ptr<game_controller> game(
new game_controller(cmdline_opts,argv[0]));
const int start_ticks = SDL_GetTicks();

Expand Down

0 comments on commit f364f21

Please sign in to comment.