summaryrefslogtreecommitdiffstats
path: root/depends/libnbtplusplus/include/tag_compound.h
diff options
context:
space:
mode:
Diffstat (limited to 'depends/libnbtplusplus/include/tag_compound.h')
-rw-r--r--depends/libnbtplusplus/include/tag_compound.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/depends/libnbtplusplus/include/tag_compound.h b/depends/libnbtplusplus/include/tag_compound.h
index 5ec818a3..66fe18b4 100644
--- a/depends/libnbtplusplus/include/tag_compound.h
+++ b/depends/libnbtplusplus/include/tag_compound.h
@@ -124,9 +124,9 @@ public:
void read_payload(io::stream_reader& reader) override;
void write_payload(io::stream_writer& writer) const override;
- friend bool operator==(const tag_compound& lhs, const tag_compound& rhs)
+ NBT___EXPORT friend bool operator==(const tag_compound& lhs, const tag_compound& rhs)
{ return lhs.tags == rhs.tags; }
- friend bool operator!=(const tag_compound& lhs, const tag_compound& rhs)
+ NBT___EXPORT friend bool operator!=(const tag_compound& lhs, const tag_compound& rhs)
{ return !(lhs == rhs); }
private:
@@ -134,7 +134,7 @@ private:
};
template<class T, class... Args>
-std::pair<tag_compound::iterator, bool> tag_compound::emplace(const std::string& key, Args&&... args)
+NBT___EXPORT std::pair<tag_compound::iterator, bool> tag_compound::emplace(const std::string& key, Args&&... args)
{
return put(key, value(make_unique<T>(std::forward<Args>(args)...)));
}