summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-03-10 17:29:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-03-10 18:35:13 +0100
commite4ecbfe821dd6826f272af4a9331a8a6318d2e1f (patch)
treec2156a81d4d99479c6514e60f9c59042661f6202 /logic
parent6286bffbf988ed5ec47462a92a11c902e4d9669f (diff)
logic/work: add final for non-virtual dtor
Diffstat (limited to 'logic')
-rw-r--r--logic/work.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/work.hpp b/logic/work.hpp
index 7f6cb450..a0033f62 100644
--- a/logic/work.hpp
+++ b/logic/work.hpp
@@ -24,7 +24,7 @@
#include <tuple>
#include <functional>
-struct OTR_LOGIC_EXPORT Work
+struct OTR_LOGIC_EXPORT Work final
{
using fn_t = std::function<void(bool)>;
using key_tuple = std::tuple<key_opts&, fn_t, bool>;