diff --git a/src/oatpp/core/data/mapping/type/PairList.hpp b/src/oatpp/core/data/mapping/type/PairList.hpp index 171eff59..52e7ed32 100644 --- a/src/oatpp/core/data/mapping/type/PairList.hpp +++ b/src/oatpp/core/data/mapping/type/PairList.hpp @@ -133,7 +133,7 @@ private: Type::Info info; info.params.push_back(Key::Class::getType()); info.params.push_back(Value::Class::getType()); - info.polymorphicDispatcher = info.polymorphicDispatcher = + info.polymorphicDispatcher = new typename __class::StandardMap>, Key, Value, PairList>::PolymorphicDispatcher(); info.isMap = true; return Type(__class::AbstractPairList::CLASS_ID, info);