summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-03-29 15:01:23 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-03-29 15:01:23 +0300
commitf4d8ea0fa76174843adf7f77ebad0ad17d2377ed (patch)
treef3f415004dbd311d020d077a7c9a2ec1d5726c03 /src
parentbc952e1298e7aba15a7e97df521b8fc57efd5d73 (diff)
downloadProject-Tick-f4d8ea0fa76174843adf7f77ebad0ad17d2377ed.tar.gz
Project-Tick-f4d8ea0fa76174843adf7f77ebad0ad17d2377ed.zip
NOISSUE fix declarations
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'src')
-rw-r--r--src/tag.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tag.cpp b/src/tag.cpp
index 6175a36293..0446dfd3f8 100644
--- a/src/tag.cpp
+++ b/src/tag.cpp
@@ -32,6 +32,14 @@
namespace nbt
{
+//Explicit instantiation definitions for tag_primitive
+template class tag_primitive<int8_t>;
+template class tag_primitive<int16_t>;
+template class tag_primitive<int32_t>;
+template class tag_primitive<int64_t>;
+template class tag_primitive<float>;
+template class tag_primitive<double>;
+
static_assert(std::numeric_limits<float>::is_iec559 && std::numeric_limits<double>::is_iec559,
"The floating point values for NBT must conform to IEC 559/IEEE 754");