summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-08-21 19:54:47 +0200
committerlouiz’ <louiz@louiz.org>2018-08-23 18:54:16 +0200
commitd7bc737751aae7bdc77c68e4d2953aa0d6670724 (patch)
treebee0bdc8a7ea80762558ee6865fe14fc277faa06 /src/database
parentf55b1108cdab5643d2668b3a2b08803889e43e9b (diff)
downloadbiboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.tar.gz
biboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.tar.bz2
biboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.tar.xz
biboumi-d7bc737751aae7bdc77c68e4d2953aa0d6670724.zip
Add two missing ref
Diffstat (limited to 'src/database')
-rw-r--r--src/database/select_query.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/select_query.hpp b/src/database/select_query.hpp
index b9fdc06..e372f2e 100644
--- a/src/database/select_query.hpp
+++ b/src/database/select_query.hpp
@@ -135,7 +135,7 @@ struct SelectQuery: public Query
};
template <typename... T>
-auto select(const Table<T...> table)
+auto select(const Table<T...>& table)
{
SelectQuery<T...> query(table.name);
return query;