Make EntityManager and Panic dynamic-linkable.
This commit is contained in:
committed by
Philip Rideout
parent
8380a87a6e
commit
b030f67eb7
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user