summaryrefslogtreecommitdiff
path: root/include/mbgl/style/function/type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/function/type.hpp')
-rw-r--r--include/mbgl/style/function/type.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/function/type.hpp b/include/mbgl/style/function/type.hpp
index 94f710c005..19897ac77f 100644
--- a/include/mbgl/style/function/type.hpp
+++ b/include/mbgl/style/function/type.hpp
@@ -42,7 +42,7 @@ public:
static Primitive Object;
// It's weird for this to be on Primitive. Where should it go?
- static Type Value;
+ static ValueType Value;
private:
std::string name;
@@ -60,7 +60,7 @@ private:
class Array {
public:
Array(ValueType itemType_) : itemType(itemType_) {}
- Array(ValueType itemType_, int N_) : itemType(itemType_), N(N_) {}
+ Array(ValueType itemType_, std::size_t N_) : itemType(itemType_), N(N_) {}
std::string getName() const {
return "array";
}