summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-06-30 17:48:41 +0200
committerljfa-ag <ljfa-ag@web.de>2015-06-30 17:48:41 +0200
commit955bdfe3ae22039923d8d4df2ba3892031c55064 (patch)
tree3bb256dedcfd74029f337b4b98461a06321c7866 /include
parent49ce5a019c5f8e4d862432734a42bc7aa2a18387 (diff)
downloadProject-Tick-955bdfe3ae22039923d8d4df2ba3892031c55064.tar.gz
Project-Tick-955bdfe3ae22039923d8d4df2ba3892031c55064.zip
Make tag classes final
Diffstat (limited to 'include')
-rw-r--r--include/tag_compound.h2
-rw-r--r--include/tag_primitive.h2
-rw-r--r--include/tag_string.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/tag_compound.h b/include/tag_compound.h
index 8d627fca67..e1d5218a9a 100644
--- a/include/tag_compound.h
+++ b/include/tag_compound.h
@@ -29,7 +29,7 @@ namespace nbt
{
///Tag that contains multiple unordered named tags of arbitrary types
-class tag_compound : public tag
+class tag_compound final : public tag
{
public:
//Iterator types
diff --git a/include/tag_primitive.h b/include/tag_primitive.h
index 4c210ff0a8..bf8600c9f1 100644
--- a/include/tag_primitive.h
+++ b/include/tag_primitive.h
@@ -33,7 +33,7 @@ namespace nbt
* Common class for tag_byte, tag_short, tag_int, tag_long, tag_float and tag_double.
*/
template<class T>
-class tag_primitive : public tag
+class tag_primitive final : public tag
{
public:
///The type of the value
diff --git a/include/tag_string.h b/include/tag_string.h
index 964e1532ee..05a2e1cb4d 100644
--- a/include/tag_string.h
+++ b/include/tag_string.h
@@ -27,7 +27,7 @@ namespace nbt
{
///Tag that contains a UTF-8 string
-class tag_string : public tag
+class tag_string final : public tag
{
public:
///The type of the tag