From 4fa9f5ee2a222bdb3cc31281b2c922a0ea96a7de Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Wed, 4 Jul 2018 16:33:33 -0500 Subject: [PATCH] use make_tuple instead of make_pair --- src/GUI/OptionsGroup/Field.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/OptionsGroup/Field.hpp b/src/GUI/OptionsGroup/Field.hpp index c1c7e057f..ab37b5e34 100644 --- a/src/GUI/OptionsGroup/Field.hpp +++ b/src/GUI/OptionsGroup/Field.hpp @@ -324,7 +324,7 @@ protected: void _on_change(std::string opt_id) override { if (!this->disable_change_event && this->_ctrl_x->IsEnabled() && this->on_change != nullptr) { - this->on_change(opt_id, std::make_pair(_ctrl_x->GetValue().ToStdString(), _ctrl_y->GetValue().ToStdString())); + this->on_change(opt_id, std::make_tuple(_ctrl_x->GetValue().ToStdString(), _ctrl_y->GetValue().ToStdString())); } }