Match modal_dialog::register_integer to header
For whatever reason, callback_save_value had type std::function<void(int)> in the .cpp file but std::function<void(const int)> in the header file. This reconciles them to both take in an integer as a parameter.
This commit is contained in:
parent
ecd273914c
commit
92e91e4c0e
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ field_integer* modal_dialog::register_integer(
|
|||
const std::string& id,
|
||||
const bool mandatory,
|
||||
const std::function<int()>& callback_load_value,
|
||||
const std::function<void(const int)>& callback_save_value)
|
||||
const std::function<void(int)>& callback_save_value)
|
||||
{
|
||||
field_integer* field = new field_integer(
|
||||
id, mandatory, callback_load_value, callback_save_value);
|
||||
|
|
Loading…
Add table
Reference in a new issue