workaround msvs variant init bug
This commit is contained in:
parent
79c6ab46a5
commit
be44b647fa
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue