summaryrefslogtreecommitdiff
path: root/test/miscellaneous/style_parser.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-12-01 17:16:37 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-12-03 15:38:36 +0100
commit6feb89cbbc50d31557c3d74d3a7ca97b474a7507 (patch)
tree49cc7fffc18e3f4f4b556a626b5d3391a5f8b414 /test/miscellaneous/style_parser.cpp
parentdc620f48de48d500298044d8da0ba946b3b0c566 (diff)
downloadqtlocation-mapboxgl-6feb89cbbc50d31557c3d74d3a7ca97b474a7507.tar.gz
[core] fix various errors reported by clang-tidy
Diffstat (limited to 'test/miscellaneous/style_parser.cpp')
-rw-r--r--test/miscellaneous/style_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/miscellaneous/style_parser.cpp b/test/miscellaneous/style_parser.cpp
index 7a38ba054d..ed9a0462b5 100644
--- a/test/miscellaneous/style_parser.cpp
+++ b/test/miscellaneous/style_parser.cpp
@@ -20,7 +20,7 @@ typedef std::vector<Message> Messages;
class StyleParserTest : public ::testing::TestWithParam<std::string> {};
TEST_P(StyleParserTest, ParseStyle) {
- const std::string &base = "test/fixtures/style_parser/" + GetParam();
+ const std::string base = std::string("test/fixtures/style_parser/") + GetParam();
rapidjson::Document infoDoc;
infoDoc.Parse<0>(util::read_file(base + ".info.json").c_str());