From 691cea4b1a4aa1779c9ae88d88924e2fd3dcb6fd Mon Sep 17 00:00:00 2001 From: gazelleguardian Date: Mon, 6 Dec 2021 03:54:47 +0100 Subject: Fix building on windows with clang and msvc Signed-off-by: Philipp David --- src/tag_array.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/tag_array.cpp b/src/tag_array.cpp index 4a1668ad1e..a48f52a9c2 100644 --- a/src/tag_array.cpp +++ b/src/tag_array.cpp @@ -126,4 +126,9 @@ void tag_array::write_payload(io::stream_writer& writer) const writer.write_num(i); } +//Explicit instantiations +template class NBT_EXPORT tag_array; +template class NBT_EXPORT tag_array; +template class NBT_EXPORT tag_array; + } -- cgit 0.0.5-2-1-g0f52