From 2677ac42e8d2e1cf162fec773a9acb453bef8b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 14 Jun 2017 10:31:45 +0200 Subject: Fix compilation (many warnings, and a linkage error) with clang++ --- src/database/type_to_sql.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/database/type_to_sql.hpp') diff --git a/src/database/type_to_sql.hpp b/src/database/type_to_sql.hpp index 5ae03ad..1942268 100644 --- a/src/database/type_to_sql.hpp +++ b/src/database/type_to_sql.hpp @@ -4,3 +4,10 @@ template struct TypeToSQLType { static const std::string type; }; + +template <> const std::string TypeToSQLType::type; +template <> const std::string TypeToSQLType::type; +template <> const std::string TypeToSQLType::type; +template <> const std::string TypeToSQLType::type; +template <> const std::string TypeToSQLType::type; +template <> const std::string TypeToSQLType::type; \ No newline at end of file -- cgit v1.2.3