summaryrefslogtreecommitdiffhomepage
path: root/options/value-traits.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-05 20:19:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-05 20:19:29 +0200
commit12a3a38bb716734f31913ccc295a8b884a490136 (patch)
treed66702b3b1dfcdc3bc5b233e4772a0525c6949b1 /options/value-traits.hpp
parenta17f3168cc68574369f1b669fe1b4118e4843525 (diff)
options/value-traits: add missing pragma once
Diffstat (limited to 'options/value-traits.hpp')
-rw-r--r--options/value-traits.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/options/value-traits.hpp b/options/value-traits.hpp
index ac5f6e5c..680f138c 100644
--- a/options/value-traits.hpp
+++ b/options/value-traits.hpp
@@ -1,3 +1,5 @@
+#pragma once
+
#include "export.hpp"
#include "slider.hpp"
@@ -12,6 +14,8 @@ namespace detail {
template<typename t, typename u = t, typename Enable = void>
struct default_value_traits
{
+ virtual ~default_value_traits() = default;
+
using element_type = std::decay_t<t>;
using value_type = std::decay_t<u>;