diff options
Diffstat (limited to 'src/libstore/length-prefixed-protocol-helper.hh')
-rw-r--r-- | src/libstore/length-prefixed-protocol-helper.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/length-prefixed-protocol-helper.hh b/src/libstore/length-prefixed-protocol-helper.hh index 1475d2690..423bc77b8 100644 --- a/src/libstore/length-prefixed-protocol-helper.hh +++ b/src/libstore/length-prefixed-protocol-helper.hh @@ -61,9 +61,9 @@ template<class Inner, typename... Ts> LENGTH_PREFIXED_PROTO_HELPER(Inner, std::tuple<Ts...>); template<class Inner, typename K, typename V> -#define _X std::map<K, V> -LENGTH_PREFIXED_PROTO_HELPER(Inner, _X); -#undef _X +#define DONT_SUBSTITUTE_KV_TYPE std::map<K, V> +LENGTH_PREFIXED_PROTO_HELPER(Inner, DONT_SUBSTITUTE_KV_TYPE); +#undef DONT_SUBSTITUTE_KV_TYPE template<class Inner, typename T> std::vector<T> |