Remove CPPTRACE_EXPORT from nullable

This commit is contained in:
Jeremy 2023-11-23 00:06:09 -06:00
parent 4a37069655
commit b3b9d5fda6
No known key found for this signature in database
GPG Key ID: B4C8300FEC395042

View File

@ -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 // This is used over std::optional because the library is C++11 and also std::optional is a bit heavy-duty for this
// use. // use.
template<typename T, typename std::enable_if<std::is_integral<T>::value, int>::type = 0> template<typename T, typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
struct CPPTRACE_EXPORT nullable { struct nullable {
T raw_value; T raw_value;
nullable& operator=(T value) { nullable& operator=(T value) {
raw_value = value; raw_value = value;