moved settings initialization into cpp files

This commit is contained in:
AdenKoperczak 2024-09-19 11:34:41 -04:00
parent c92b881d4a
commit 97b5b6f4ca
3 changed files with 21 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#define SETTINGS_VARIABLE_IMPLEMENTATION
//#define SETTINGS_VARIABLE_IMPLEMENTATION
#include <scwx/qt/settings/settings_variable.hpp>
#include <scwx/util/logger.hpp>
@ -402,6 +402,14 @@ bool SettingsVariable<T>::Equals(const SettingsVariableBase& o) const
p->maximum_ == v.p->maximum_;
}
template class SettingsVariable<bool>;
template class SettingsVariable<double>;
template class SettingsVariable<std::int64_t>;
template class SettingsVariable<std::string>;
// Containers are not to be used directly
template class SettingsVariable<std::vector<std::int64_t>>;
} // namespace settings
} // namespace qt
} // namespace scwx