Skip to content

Commit

Permalink
Fix compile errors
Browse files Browse the repository at this point in the history
Not sure where these came from. I'm assuming the changes to have CMake and SCons be equally strict.

If so, I'm amazed this was all which popped up!
  • Loading branch information
GregoryLundberg committed Nov 30, 2017
1 parent 4c9d5a6 commit 3fce40c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/gui/dialogs/title_screen.cpp
Expand Up @@ -135,8 +135,8 @@ REGISTER_DIALOG(title_screen)
bool show_debug_clock_button = false;

title_screen::title_screen(game_launcher& game)
: game_(game)
, debug_clock_()
: debug_clock_()
, game_(game)
{
set_restore(false);

Expand Down Expand Up @@ -354,7 +354,7 @@ void title_screen::pre_show(window& win)
//
// Editor
//
register_button(win, "editor", hotkey::TITLE_SCREEN__EDITOR, [this, &win]() { win.set_retval(MAP_EDITOR); });
register_button(win, "editor", hotkey::TITLE_SCREEN__EDITOR, [&win]() { win.set_retval(MAP_EDITOR); });

//
// Cores
Expand Down Expand Up @@ -389,12 +389,12 @@ void title_screen::pre_show(window& win)
//
// Credits
//
register_button(win, "credits", hotkey::TITLE_SCREEN__CREDITS, [this, &win]() { win.set_retval(SHOW_ABOUT); });
register_button(win, "credits", hotkey::TITLE_SCREEN__CREDITS, [&win]() { win.set_retval(SHOW_ABOUT); });

//
// Quit
//
register_button(win, "quit", hotkey::HOTKEY_QUIT_TO_DESKTOP, [this, &win]() { win.set_retval(QUIT_GAME); });
register_button(win, "quit", hotkey::HOTKEY_QUIT_TO_DESKTOP, [&win]() { win.set_retval(QUIT_GAME); });

//
// Debug clock
Expand Down

0 comments on commit 3fce40c

Please sign in to comment.