diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-07-01 21:44:33 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-07-01 21:44:33 +0200 |
| commit | 3dfa9f71eedd26eaaaba60573d2a6b7a2ab60b8c (patch) | |
| tree | 71604ee7ed20865d85fbf35199b1a00a55e53858 /src | |
| parent | ffaf121d24428a9d822c1e3de512b9593be7aa0e (diff) | |
| download | Project-Tick-3dfa9f71eedd26eaaaba60573d2a6b7a2ab60b8c.tar.gz Project-Tick-3dfa9f71eedd26eaaaba60573d2a6b7a2ab60b8c.zip | |
Also define get_type with CRTP
Diffstat (limited to 'src')
| -rw-r--r-- | src/tag_compound.cpp | 5 | ||||
| -rw-r--r-- | src/tag_string.cpp | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/tag_compound.cpp b/src/tag_compound.cpp index 6aa12e64ff..6bc83301e2 100644 --- a/src/tag_compound.cpp +++ b/src/tag_compound.cpp @@ -79,11 +79,6 @@ auto tag_compound::end() const -> const_iterator { return tags.end(); } auto tag_compound::cbegin() const -> const_iterator { return tags.cbegin(); } auto tag_compound::cend() const -> const_iterator { return tags.cend(); } -tag_type tag_compound::get_type() const noexcept -{ - return type; -} - bool operator==(const tag_compound& lhs, const tag_compound& rhs) { return lhs.tags == rhs.tags; diff --git a/src/tag_string.cpp b/src/tag_string.cpp index 1f1e242e3a..6bd1465e84 100644 --- a/src/tag_string.cpp +++ b/src/tag_string.cpp @@ -67,11 +67,6 @@ void tag_string::set(std::string&& str) value = std::move(str); } -tag_type tag_string::get_type() const noexcept -{ - return type; -} - bool operator==(const tag_string& lhs, const tag_string& rhs) { return lhs.get() == rhs.get(); |
