fix issue 1 from #2396

This commit is contained in:
Dane Springmeyer 2014-08-26 12:43:11 -07:00
parent 3e1ab9beab
commit 884db7de8c

View file

@ -539,7 +539,7 @@ MAPNIK_DECL boost::optional<T> get_optional(symbolizer_base const& sym, keys key
}
template<typename Enum>
constexpr auto to_integral(Enum e) -> typename std::underlying_type<Enum>::type
auto to_integral(Enum e) -> typename std::underlying_type<Enum>::type
{
return static_cast<typename std::underlying_type<Enum>::type>(e);
}