From 34ed2cc1a97484942ba316ed604b75c8506f355f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 14 Jun 2017 17:23:53 +0200 Subject: Explicitely declare the add_param specialization --- src/database/query.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/database/query.hpp b/src/database/query.hpp index b77a421..42eeda2 100644 --- a/src/database/query.hpp +++ b/src/database/query.hpp @@ -1,6 +1,7 @@ #pragma once #include +#include #include @@ -38,6 +39,8 @@ void add_param(Query& query, const ColumnType& column) { actual_add_param(query, column.value); } +template <> +void add_param(Query& query, const Id& column); template void actual_add_param(Query& query, const T& val) -- cgit v1.2.3