From be15af7e04d2d1b7ef0b1bbc36e6aaef14c5f36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Mon, 11 Aug 2014 12:17:27 +0200 Subject: consolidate into one line --- linux/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'linux') diff --git a/linux/main.cpp b/linux/main.cpp index 392b9fb666..b1241d64e0 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -63,9 +63,7 @@ int main(int argc, char *argv[]) { } // Load style - std::string style = "file://"; - style += uv::cwd(); - style += "/styles/bright/style.json"; + const std::string style = std::string("file://") + uv::cwd() + std::string("/styles/bright/style.json"); map.setStyleURL(style); int ret = view->run(); -- cgit v1.2.1