Created
August 22, 2016 08:25
-
-
Save jyrkive/ba7a12241f92619a5494564051cb7f06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template<typename T> | |
| void tmp_create_game::update_options_data_map(T* widget, const std::string game_id) | |
| { | |
| options_data_[game_id][widget->id()] = widget->get_value(); | |
| } | |
| template<> | |
| void tmp_create_game::update_options_data_map(ttoggle_button* widget, const std::string game_id) | |
| { | |
| options_data_[game_id][widget->id()] = widget->get_value_bool(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment