diff --git a/include/cpptrace/cpptrace.hpp b/include/cpptrace/cpptrace.hpp index b35bed1..27b626b 100644 --- a/include/cpptrace/cpptrace.hpp +++ b/include/cpptrace/cpptrace.hpp @@ -90,7 +90,7 @@ namespace cpptrace { // This is used over std::optional because the library is C++11 and also std::optional is a bit heavy-duty for this // use. template::value, int>::type = 0> - struct CPPTRACE_EXPORT nullable { + struct nullable { T raw_value; nullable& operator=(T value) { raw_value = value;