diff options
Diffstat (limited to 'src/CommonAPI/InputStream.h')
-rw-r--r-- | src/CommonAPI/InputStream.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/CommonAPI/InputStream.h b/src/CommonAPI/InputStream.h index 6f3444e..a1987f2 100644 --- a/src/CommonAPI/InputStream.h +++ b/src/CommonAPI/InputStream.h @@ -277,11 +277,17 @@ private: inputStream.beginReadVectorOfVectors(); } - template<typename _InnerKeyType, typename _InnerValueType> + template<typename _InnerKeyType, typename _InnerValueType, typename _InnerHashType> static inline void doBeginReadVector(InputStream& inputStream, - const std::vector<std::unordered_map<_InnerKeyType, _InnerValueType>>& vectorValue) { + const std::vector<std::unordered_map<_InnerKeyType, _InnerValueType, _InnerHashType>>& vectorValue) { inputStream.beginReadVectorOfMaps(); } + + template<typename _InnerKeyType, typename _InnerValueType> + static inline void doBeginReadVector(InputStream& inputStream, + const std::vector<std::unordered_map<_InnerKeyType, _InnerValueType>>& vectorValue) { + inputStream.beginReadVectorOfMaps(); + } }; template<typename _VectorElementType, bool _IsSerializableStruct = false> |