summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-07-15 17:55:19 +0200
committerljfa-ag <ljfa-ag@web.de>2015-07-15 17:55:19 +0200
commitf198ab5fbf31c107e82e05969ea72abb8872fc11 (patch)
tree85fb259d529257a360c7c4c35aa4e2771d2b4d1b /include
parent367f7ef26704011929ea8e2bef9d9e73052897c6 (diff)
downloadProject-Tick-f198ab5fbf31c107e82e05969ea72abb8872fc11.tar.gz
Project-Tick-f198ab5fbf31c107e82e05969ea72abb8872fc11.zip
Fix forward declarations for tag_array
Diffstat (limited to 'include')
-rw-r--r--include/tag_list.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tag_list.h b/include/tag_list.h
index a2170c4f0f..d34ca83b20 100644
--- a/include/tag_list.h
+++ b/include/tag_list.h
@@ -31,8 +31,9 @@ namespace nbt
//Forward declarations
class tag_list;
class tag_compound;
-class tag_byte_array;
-class tag_int_array;
+template<class T> class tag_array;
+typedef tag_array<int8_t> tag_byte_array;
+typedef tag_array<int32_t> tag_int_array;
///Tag that contains multiple unnamed tags of the same type
class tag_list final : public detail::crtp_tag<tag_list>