summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-07-01 20:15:06 +0200
committerljfa-ag <ljfa-ag@web.de>2015-07-01 20:15:06 +0200
commite0ff3b56c05225dd7da7d973af4c708966379a12 (patch)
treed25a83414cfe98d4662cf5c02e899f79bfcec177 /include
parent900db15d5471fd68468baa31c822b2312054c435 (diff)
downloadProject-Tick-e0ff3b56c05225dd7da7d973af4c708966379a12.tar.gz
Project-Tick-e0ff3b56c05225dd7da7d973af4c708966379a12.zip
Minor reformatting
Diffstat (limited to 'include')
-rw-r--r--include/tag_compound.h7
-rw-r--r--include/tag_primitive.h1
-rw-r--r--include/tag_string.h1
3 files changed, 3 insertions, 6 deletions
diff --git a/include/tag_compound.h b/include/tag_compound.h
index 32380a0c6c..1b6e214b10 100644
--- a/include/tag_compound.h
+++ b/include/tag_compound.h
@@ -108,18 +108,17 @@ public:
const_iterator cend() const;
tag_type get_type() const noexcept override;
-
std::unique_ptr<tag> move_clone() && override;
+ friend bool operator==(const tag_compound& lhs, const tag_compound& rhs);
+ friend bool operator!=(const tag_compound& lhs, const tag_compound& rhs);
+
private:
std::map<std::string, value> tags;
bool equals(const tag& rhs) const override;
tag_compound& assign(tag&& rhs) override;
-
- friend bool operator==(const tag_compound& lhs, const tag_compound& rhs);
- friend bool operator!=(const tag_compound& lhs, const tag_compound& rhs);
};
template<class T, class... Args>
diff --git a/include/tag_primitive.h b/include/tag_primitive.h
index 9c4cd3b2b9..c58cb891ff 100644
--- a/include/tag_primitive.h
+++ b/include/tag_primitive.h
@@ -52,7 +52,6 @@ public:
void set(T value);
tag_type get_type() const noexcept override;
-
std::unique_ptr<tag> move_clone() && override;
private:
diff --git a/include/tag_string.h b/include/tag_string.h
index 7b71e9122a..b28476da2c 100644
--- a/include/tag_string.h
+++ b/include/tag_string.h
@@ -46,7 +46,6 @@ public:
void set(std::string&& str);
tag_type get_type() const noexcept override;
-
std::unique_ptr<tag> move_clone() && override;
private: