Skip to content

Commit 2fe09d4

Browse files
chrisr-diffbluemartin
authored and
martin
committed
Fixup sharing_map.h
1 parent a775a2f commit 2fe09d4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/util/sharing_map.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,15 @@ Author: Daniel Poetzl
5555
typename equalT> \
5656
type sharing_mapt<keyT, valueT, fail_if_equal, hashT, equalT>
5757

58-
#define SHARING_MAPTV(R, V) \
59-
template <class keyT, class valueT, class hashT, class predT> \
58+
#define SHARING_MAPTV(return_type, V) \
59+
template < \
60+
typename keyT, \
61+
typename valueT, \
62+
bool fail_if_equal, \
63+
typename hashT, \
64+
typename equalT> \
6065
template <class V> \
61-
R sharing_mapt<keyT, valueT, hashT, predT>
66+
return_type sharing_mapt<keyT, valueT, fail_if_equal, hashT, equalT>
6267

6368
/// Macro to abbreviate the out-of-class definitions of methods of sharing_mapt
6469
/// with a return type that is defined within the class.

0 commit comments

Comments
 (0)