From 2c519014006e4fd0cfa6ef1e4e9a05a10162db1e Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Tue, 14 Nov 2017 15:28:48 +0200 Subject: [build] Clang-3.8: Default init of a const type requires user-provided ctor --- include/mbgl/style/expression/type.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include') 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 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; } }; -- cgit v1.2.1