diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2019-06-30 14:59:16 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2019-06-30 14:59:16 +0200 |
| commit | 985bf04283f4f20c7c0616df0219add9f03558ac (patch) | |
| tree | c2a30819f3a3cd16b732ae727ef4229612d1787a /include/wanda/setting.hpp | |
| parent | 04dd17a2001d858f2c4b91cd9e908ec99ef63d83 (diff) | |
| download | wanda-985bf04283f4f20c7c0616df0219add9f03558ac.tar.xz wanda-985bf04283f4f20c7c0616df0219add9f03558ac.zip | |
settings: remove eager static fail
Diffstat (limited to 'include/wanda/setting.hpp')
| -rw-r--r-- | include/wanda/setting.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/wanda/setting.hpp b/include/wanda/setting.hpp index 98b5771..1721651 100644 --- a/include/wanda/setting.hpp +++ b/include/wanda/setting.hpp @@ -103,10 +103,6 @@ namespace wanda std::transform(value.begin(), value.end(), temp.begin(), [](auto const & str) { return str.c_str(); }); return g_settings_set_strv(setting, key, temp.data()); } - else - { - static_assert(deferred_failure<Type>{}, "Invalid argument type!"); - } }()} { } |
