diff options
| author | ljfa <ljfa-ag@web.de> | 2015-09-22 15:21:16 +0200 |
|---|---|---|
| committer | ljfa <ljfa-ag@web.de> | 2015-09-22 15:43:57 +0200 |
| commit | 3f965312d61fac3970f1000ee6433cc154abcb6c (patch) | |
| tree | d1a07e1e7970cf5e88a86452f3702f6f4850b0a5 /src | |
| parent | 9c63256baa6562c5e50431b555e1c3c8e867bdb7 (diff) | |
| download | Project-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.cpp | 16 |
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>; - } |
