summaryrefslogtreecommitdiff
path: root/include/mbgl/style/position.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/position.hpp')
-rw-r--r--include/mbgl/style/position.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/position.hpp b/include/mbgl/style/position.hpp
index 3be8d1c55e..078e62bda8 100644
--- a/include/mbgl/style/position.hpp
+++ b/include/mbgl/style/position.hpp
@@ -9,7 +9,7 @@ namespace style {
class Position {
public:
Position() = default;
- Position(std::array<float, 3>& position_)
+ Position(const std::array<float, 3>& position_)
: radial(position_[0]), azimuthal(position_[1]), polar(position_[2]) {
calculateCartesian();
};