consolidate into one line

This commit is contained in:
Konstantin Käfer
2014-08-11 12:17:27 +02:00
parent bff4f4b334
commit be15af7e04

View File

@@ -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();