~singpolyma/biboumi

34ed2cc1a97484942ba316ed604b75c8506f355f — louiz’ 7 years ago 5834dd5
Explicitely declare the add_param<Id> specialization
1 files changed, 3 insertions(+), 0 deletions(-)

M src/database/query.hpp
M src/database/query.hpp => src/database/query.hpp +3 -0
@@ 1,6 1,7 @@
#pragma once

#include <database/statement.hpp>
#include <database/column.hpp>

#include <logger/logger.hpp>



@@ 38,6 39,8 @@ void add_param(Query& query, const ColumnType& column)
{
  actual_add_param(query, column.value);
}
template <>
void add_param<Id>(Query& query, const Id& column);

template <typename T>
void actual_add_param(Query& query, const T& val)