1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Try to minimize dll linkage usage

This commit is contained in:
Ivan Savenko
2024-05-17 13:09:45 +00:00
parent 03054af949
commit 69e33e406d
2 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ public:
/// Primitives: copy memory into underlying stream (defined in CSaverBase)
/// Containers: custom overloaded method that decouples class into primitives
/// VCMI Classes: recursively serialize them via ClassName::serialize( BinarySerializer &, int version) call
class DLL_LINKAGE BinarySerializer : public CSaverBase
class BinarySerializer : public CSaverBase
{
template<typename Handler>
struct VariantVisitorSaver
@@ -126,7 +126,7 @@ public:
return version >= what;
};
BinarySerializer(IBinaryWriter * w);
DLL_LINKAGE BinarySerializer(IBinaryWriter * w);
template<typename Base, typename Derived>
void registerType(const Base * b = nullptr, const Derived * d = nullptr)