From 21069ec1635bd24ab33805e033d28f2c0b2de482 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:20:59 +0300 Subject: Add missing const in utils directory. --- src/utils/xml_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils/xml_unittest.cc') diff --git a/src/utils/xml_unittest.cc b/src/utils/xml_unittest.cc index fdee8de5d..e228392a5 100644 --- a/src/utils/xml_unittest.cc +++ b/src/utils/xml_unittest.cc @@ -58,7 +58,7 @@ TEST_CASE("xml doc") SECTION("load2") { - const char *xml = "" + const char *const xml = "" "" "this is test"; XML::Document doc(xml, strlen(xml)); @@ -92,7 +92,7 @@ TEST_CASE("xml doc") SECTION("load4") { - const char *xml = "" + const char *const xml = "" "this is test"; XML::Document doc(xml, strlen(xml)); REQUIRE(doc.isLoaded() == true); @@ -191,7 +191,7 @@ TEST_CASE("xml doc") SECTION("child2") { - const char *xml = "" + const char *const xml = "" ""; XML::Document doc(xml, strlen(xml)); -- cgit v1.2.3-70-g09d2