remove JSON_HAS_RVALUE_REFERENCES

This commit is contained in:
Billy Donahue
2019-01-21 12:32:31 -05:00
committed by Hans Johnson
parent 00558b38db
commit 9a55d22d3d
4 changed files with 0 additions and 44 deletions

View File

@@ -2499,7 +2499,6 @@ JSONTEST_FIXTURE(IteratorTest, const) {
struct RValueTest : JsonTest::TestCase {};
JSONTEST_FIXTURE(RValueTest, moveConstruction) {
#if JSON_HAS_RVALUE_REFERENCES
Json::Value json;
json["key"] = "value";
Json::Value moved = std::move(json);
@@ -2507,7 +2506,6 @@ JSONTEST_FIXTURE(RValueTest, moveConstruction) {
// equal.
JSONTEST_ASSERT_EQUAL(Json::objectValue, moved.type());
JSONTEST_ASSERT_EQUAL(Json::stringValue, moved["key"].type());
#endif
}
int main(int argc, const char* argv[]) {