Make EntityManager and Panic dynamic-linkable.

This commit is contained in:
Tim Psiaki
2020-01-03 15:36:30 -08:00
committed by Philip Rideout
parent 8380a87a6e
commit b030f67eb7
2 changed files with 5 additions and 4 deletions

View File

@@ -21,10 +21,11 @@
#include <stdint.h>
#include <utils/Entity.h>
#include <utils/compiler.h>
namespace utils {
class EntityManager {
class UTILS_PUBLIC EntityManager {
public:
// Get the global EntityManager. Is is recommended to cache this value.
// Thread Safe.

View File

@@ -166,8 +166,8 @@ void logAndPanic(char const* function, char const* file, int line, const char* f
// -----------------------------------------------------------------------------------------------
template class TPanic<PreconditionPanic>;
template class TPanic<PostconditionPanic>;
template class TPanic<ArithmeticPanic>;
template class UTILS_PUBLIC TPanic<PreconditionPanic>;
template class UTILS_PUBLIC TPanic<PostconditionPanic>;
template class UTILS_PUBLIC TPanic<ArithmeticPanic>;
} // namespace utils