diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-11-14 15:28:48 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-11-14 19:01:04 +0200 |
commit | 2c519014006e4fd0cfa6ef1e4e9a05a10162db1e (patch) | |
tree | c019e1b8ccd4ae83674126b61501591b150fd013 /include | |
parent | 10a9b25928bd8cd28f0c459de1f083e206e473e5 (diff) | |
download | qtlocation-mapboxgl-2c519014006e4fd0cfa6ef1e4e9a05a10162db1e.tar.gz |
[build] Clang-3.8: Default init of a const type requires user-provided ctor
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/style/expression/type.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/mbgl/style/expression/type.hpp b/include/mbgl/style/expression/type.hpp index da59eb001c..513c4bdc17 100644 --- a/include/mbgl/style/expression/type.hpp +++ b/include/mbgl/style/expression/type.hpp @@ -14,49 +14,49 @@ template <class T> std::string toString(const T& t); struct NullType { - constexpr NullType() = default; + constexpr NullType() {}; std::string getName() const { return "null"; } bool operator==(const NullType&) const { return true; } }; struct NumberType { - constexpr NumberType() = default; + constexpr NumberType() {}; std::string getName() const { return "number"; } bool operator==(const NumberType&) const { return true; } }; struct BooleanType { - constexpr BooleanType() = default; + constexpr BooleanType() {}; std::string getName() const { return "boolean"; } bool operator==(const BooleanType&) const { return true; } }; struct StringType { - constexpr StringType() = default; + constexpr StringType() {}; std::string getName() const { return "string"; } bool operator==(const StringType&) const { return true; } }; struct ColorType { - constexpr ColorType() = default; + constexpr ColorType() {}; std::string getName() const { return "color"; } bool operator==(const ColorType&) const { return true; } }; struct ObjectType { - constexpr ObjectType() = default; + constexpr ObjectType() {}; std::string getName() const { return "object"; } bool operator==(const ObjectType&) const { return true; } }; struct ErrorType { - constexpr ErrorType() = default; + constexpr ErrorType() {}; std::string getName() const { return "error"; } bool operator==(const ErrorType&) const { return true; } }; struct ValueType { - constexpr ValueType() = default; + constexpr ValueType() {}; std::string getName() const { return "value"; } bool operator==(const ValueType&) const { return true; } }; |