mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
workaround msvs variant init bug
This commit is contained in:
parent
79c6ab46a5
commit
be44b647fa
@ -814,7 +814,9 @@ public:
|
||||
|
||||
template <typename T>
|
||||
value ( T const& val)
|
||||
: base_(typename detail::mapnik_value_type<T>::type(val)) {}
|
||||
: base_() {
|
||||
base_ = static_cast<typename detail::mapnik_value_type<T>::type>(val);
|
||||
}
|
||||
|
||||
value (value const& other)
|
||||
: base_(other.base_) {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user