diff --git a/lmdb-typed.hh b/lmdb-typed.hh index 5e3ef21..b1548b0 100644 --- a/lmdb-typed.hh +++ b/lmdb-typed.hh @@ -47,6 +47,12 @@ inline string_view keyConv(const T& t) return t; } +template::value,T>::type* = nullptr> +inline string_view keyConv(string_view t) +{ + return t; +} + /*! * \brief The LMDBIndexOps struct implements index operations, but only the operations that * are broadcast to all indexes.