diff --git a/include/pgvector/pqxx.hpp b/include/pgvector/pqxx.hpp index 8c0812e..ed1bc62 100644 --- a/include/pgvector/pqxx.hpp +++ b/include/pgvector/pqxx.hpp @@ -21,7 +21,7 @@ /// @cond namespace pqxx { -template <> std::string const type_name{"vector"}; +template <> inline std::string const type_name{"vector"}; template <> struct nullness : pqxx::no_null {}; @@ -66,7 +66,7 @@ template <> struct string_traits { } }; -template <> std::string const type_name{"halfvec"}; +template <> inline std::string const type_name{"halfvec"}; template <> struct nullness : pqxx::no_null {}; @@ -111,7 +111,7 @@ template <> struct string_traits { } }; -template <> std::string const type_name{"sparsevec"}; +template <> inline std::string const type_name{"sparsevec"}; template <> struct nullness : pqxx::no_null {};