Commit 9393f360 authored by Xavier Thompson's avatar Xavier Thompson

result.hpp: Fix for nontrivial constructors

parent fa519db4
...@@ -23,6 +23,8 @@ namespace typon ...@@ -23,6 +23,8 @@ namespace typon
T _value; T _value;
}; };
Result() noexcept {}
~Result() ~Result()
{ {
if (_valid) if (_valid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment