From 992bb6cd2bce9ab9555aae6226d602f001051bf0 Mon Sep 17 00:00:00 2001 From: Adriano dos Santos Fernandes Date: Fri, 10 Sep 2021 10:22:57 -0300 Subject: [PATCH] Add KeyComparator parameter to GenericMap helpers. --- src/common/classes/GenericMap.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/common/classes/GenericMap.h b/src/common/classes/GenericMap.h index cfcf90745d..59fe7593d5 100644 --- a/src/common/classes/GenericMap.h +++ b/src/common/classes/GenericMap.h @@ -369,10 +369,18 @@ private: }; typedef GenericMap > > StringMap; -template using NonPooledMap = GenericMap>>; -template using LeftPooledMap = GenericMap>>; -template using RightPooledMap = GenericMap>>; -template using FullPooledMap = GenericMap>>; + +template > +using NonPooledMap = GenericMap>, KeyComparator>; + +template > +using LeftPooledMap = GenericMap>, KeyComparator>; + +template > +using RightPooledMap = GenericMap>, KeyComparator>; + +template > +using FullPooledMap = GenericMap>, KeyComparator>; }