From abcf978174437746c105cbd3e27c58ac55498cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 17 Dec 2014 15:01:15 +0100 Subject: [PATCH] change comment and cache value --- platform/default/application_root.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/default/application_root.cpp b/platform/default/application_root.cpp index e6f73e021..f25a44d46 100644 --- a/platform/default/application_root.cpp +++ b/platform/default/application_root.cpp @@ -5,9 +5,10 @@ namespace mbgl { namespace platform { -// Returns the path to the default cache database on this system. +// Returns the path the application root. std::string applicationRoot() { - return uv::cwd(); + static const std::string root = uv::cwd(); + return root; } }