Commit 48239c6d authored by Xavier Thompson's avatar Xavier Thompson

result.hpp: Fix for nontrivial constructors

parent 6c47a5ed
...@@ -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