summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorartemp <artem@mapnik.org>2014-11-27 18:11:18 +0100
committerartemp <artem@mapnik.org>2014-11-27 18:11:18 +0100
commit2586cfb9e305ce2da39fb06af62d71a911fbfba4 (patch)
tree18386b86bbc2f864ea4176e18373e7cd4038d147 /platform
parent8f3d2d4a45d5790072a3c220451a5c630760ae3e (diff)
downloadqtlocation-mapboxgl-2586cfb9e305ce2da39fb06af62d71a911fbfba4.tar.gz
use ```const var&``` notation in public interface
Diffstat (limited to 'platform')
-rw-r--r--platform/default/string_stdlib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/default/string_stdlib.cpp b/platform/default/string_stdlib.cpp
index ba55542208..ac4c26234c 100644
--- a/platform/default/string_stdlib.cpp
+++ b/platform/default/string_stdlib.cpp
@@ -8,7 +8,7 @@
namespace mbgl { namespace platform {
-std::string uppercase(std::string const& str)
+std::string uppercase(const std::string& str)
{
std::stringstream output;
char const *itr = str.c_str(), *nitr = itr;
@@ -41,7 +41,7 @@ std::string uppercase(std::string const& str)
}
-std::string lowercase(std::string const& str)
+std::string lowercase(const std::string& str)
{
std::stringstream output;
char const *itr = str.c_str(), *nitr = itr;