No need to dllexport template classes, fix forward declaration

This commit is contained in:
Matthias Hochsteger 2018-12-12 05:11:28 -08:00
parent 47dd0eeead
commit c9798fe16a

View File

@ -24,7 +24,7 @@ namespace ngcore
const VersionInfo& GetLibraryVersion(const std::string& library); const VersionInfo& GetLibraryVersion(const std::string& library);
void SetLibraryVersion(const std::string& library, const VersionInfo& version); void SetLibraryVersion(const std::string& library, const VersionInfo& version);
class Archive; class NGCORE_API Archive;
NGCORE_API std::string Demangle(const char* typeinfo); NGCORE_API std::string Demangle(const char* typeinfo);
namespace detail namespace detail
@ -481,7 +481,7 @@ namespace ngcore
}; };
template<typename T, typename ... Bases> template<typename T, typename ... Bases>
class NGCORE_API RegisterClassForArchive class RegisterClassForArchive
{ {
public: public:
RegisterClassForArchive() RegisterClassForArchive()