summaryrefslogtreecommitdiff
path: root/src/mbgl/util/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/string.cpp')
-rw-r--r--src/mbgl/util/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/string.cpp b/src/mbgl/util/string.cpp
index 6f7e02e5e2..718da5f1de 100644
--- a/src/mbgl/util/string.cpp
+++ b/src/mbgl/util/string.cpp
@@ -48,7 +48,7 @@ std::string toString(double t, bool decimal) {
return data;
}
-std::string toString(std::exception_ptr error) {
+std::string toString(const std::exception_ptr& error) {
assert(error);
if (!error) {