diff options
Diffstat (limited to 'options/tie.hpp')
-rw-r--r-- | options/tie.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/tie.hpp b/options/tie.hpp index e8c1006f..92e98680 100644 --- a/options/tie.hpp +++ b/options/tie.hpp @@ -30,7 +30,7 @@ namespace options { template<typename t> -typename std::enable_if<std::is_enum<t>::value>::type +std::enable_if_t<std::is_enum<t>::value> tie_setting(value<t>& v, QComboBox* cb) { cb->setCurrentIndex(cb->findData(int(static_cast<t>(v)))); |