summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-10 08:39:41 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-10 08:39:41 +0200
commitec3472f21dbccc352964e875223b2314b233d761 (patch)
treee3db36d30fe4a4725109adc3147ff9e11ac2bb3d
parentbd96a25f7af2a06cafecf51b16784032dd3302d3 (diff)
downloadMultiMC-ec3472f21dbccc352964e875223b2314b233d761.tar
MultiMC-ec3472f21dbccc352964e875223b2314b233d761.tar.gz
MultiMC-ec3472f21dbccc352964e875223b2314b233d761.tar.lz
MultiMC-ec3472f21dbccc352964e875223b2314b233d761.tar.xz
MultiMC-ec3472f21dbccc352964e875223b2314b233d761.zip
GH-1232 try to export the primitive tag template instantiations explicitly
-rw-r--r--depends/libnbtplusplus/include/tag_primitive.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/depends/libnbtplusplus/include/tag_primitive.h b/depends/libnbtplusplus/include/tag_primitive.h
index 8b70c147..9b5151a1 100644
--- a/depends/libnbtplusplus/include/tag_primitive.h
+++ b/depends/libnbtplusplus/include/tag_primitive.h
@@ -79,6 +79,13 @@ typedef tag_primitive<int64_t> tag_long;
typedef tag_primitive<float> tag_float;
typedef tag_primitive<double> tag_double;
+template class NBT___EXPORT tag_primitive<int8_t>;
+template class NBT___EXPORT tag_primitive<int16_t>;
+template class NBT___EXPORT tag_primitive<int32_t>;
+template class NBT___EXPORT tag_primitive<int64_t>;
+template class NBT___EXPORT tag_primitive<float>;
+template class NBT___EXPORT tag_primitive<double>;
+
template<class T>
void tag_primitive<T>::read_payload(io::stream_reader& reader)
{