summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorljfa <ljfa-ag@web.de>2015-09-22 15:21:16 +0200
committerljfa <ljfa-ag@web.de>2015-09-22 15:43:57 +0200
commit3f965312d61fac3970f1000ee6433cc154abcb6c (patch)
treed1a07e1e7970cf5e88a86452f3702f6f4850b0a5 /src
parent9c63256baa6562c5e50431b555e1c3c8e867bdb7 (diff)
downloadProject-Tick-3f965312d61fac3970f1000ee6433cc154abcb6c.tar.gz
Project-Tick-3f965312d61fac3970f1000ee6433cc154abcb6c.zip
Explicitly instantiate and export templates in header
and move defintions of tag_array::at to header
Diffstat (limited to 'src')
-rw-r--r--src/tag_array.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/tag_array.cpp b/src/tag_array.cpp
index 3f073232d1..6173dbb1dd 100644
--- a/src/tag_array.cpp
+++ b/src/tag_array.cpp
@@ -25,18 +25,6 @@
namespace nbt
{
-template<class T>
-T& tag_array<T>::at(size_t i)
-{
- return data.at(i);
-}
-
-template<class T>
-T tag_array<T>::at(size_t i) const
-{
- return data.at(i);
-}
-
//Slightly different between byte_array and int_array
//Reading
template<>
@@ -103,8 +91,4 @@ void tag_array<int32_t>::write_payload(io::stream_writer& writer) const
writer.write_num(i);
}
-//Enforce template instantiations
-template class NBT_EXPORT tag_array<int8_t>;
-template class NBT_EXPORT tag_array<int32_t>;
-
}