From 66b64d57b711dd4b3bf805bc4a325d9448378fe3 Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Mon, 29 Jun 2015 22:26:48 +0200 Subject: Remove comparison operators for tag_string --- test/nbttest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/nbttest.cpp') diff --git a/test/nbttest.cpp b/test/nbttest.cpp index 7b47d42f8f..419421f1b8 100644 --- a/test/nbttest.cpp +++ b/test/nbttest.cpp @@ -61,18 +61,18 @@ void test_tag_string() ASSERT(tag.get() == "foo"); std::string& ref = tag; ref = "bar"; - ASSERT(tag == "bar"); - ASSERT(tag != "foo"); + ASSERT(tag.get() == "bar"); + ASSERT(tag.get() != "foo"); tag.set("baz"); ASSERT(ref == "baz"); tag = "quux"; ASSERT("quux" == static_cast(tag)); std::string str("foo"); tag = str; - ASSERT(tag == str); + ASSERT(tag.get() == str); - ASSERT(tag_string(str) == "foo"); - ASSERT(tag_string() == ""); + ASSERT(tag_string(str).get() == "foo"); + ASSERT(tag_string().get() == ""); } void test_tag_compound() -- cgit 0.0.5-2-1-g0f52