From 12a3a38bb716734f31913ccc295a8b884a490136 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 5 Apr 2018 20:19:29 +0200 Subject: options/value-traits: add missing pragma once --- options/value-traits.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'options') 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 struct default_value_traits { + virtual ~default_value_traits() = default; + using element_type = std::decay_t; using value_type = std::decay_t; -- cgit v1.2.3