summaryrefslogtreecommitdiff
path: root/include/mbgl/util/error.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/util/error.hpp')
-rw-r--r--include/mbgl/util/error.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/util/error.hpp b/include/mbgl/util/error.hpp
index 99e27f770c..09fa8d3e21 100644
--- a/include/mbgl/util/error.hpp
+++ b/include/mbgl/util/error.hpp
@@ -8,7 +8,7 @@ namespace mbgl {
namespace error {
struct style_parse : std::exception {
- inline style_parse(size_t offset, const char *msg) : offset(offset), msg(msg) {}
+ inline style_parse(size_t offset_, const char *msg_) : offset(offset_), msg(msg_) {}
inline const char* what() const noexcept { return msg.c_str(); }
const size_t offset;
const std::string msg;