summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-07-08 19:07:53 +0200
committerlouiz’ <louiz@louiz.org>2017-07-08 19:07:53 +0200
commit3974371e7b1c3af9eea47d25138b96298fc037f5 (patch)
tree9f102339594dae16519bc0134dc1fd754bb13b3f /src/database
parentfd7ee48a86aee6a6c83cc22a167717de781ed3f6 (diff)
downloadbiboumi-3974371e7b1c3af9eea47d25138b96298fc037f5.tar.gz
biboumi-3974371e7b1c3af9eea47d25138b96298fc037f5.tar.bz2
biboumi-3974371e7b1c3af9eea47d25138b96298fc037f5.tar.xz
biboumi-3974371e7b1c3af9eea47d25138b96298fc037f5.zip
Replace a function argument from ... to the template Args&&... thing
Diffstat (limited to 'src/database')
-rw-r--r--src/database/table.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/table.hpp b/src/database/table.hpp
index 24418d9..0060211 100644
--- a/src/database/table.hpp
+++ b/src/database/table.hpp
@@ -33,8 +33,8 @@ void append_option(std::string& s)
s += " "s + ColumnType::options;
}
-template <typename>
-void append_option(...)
+template <typename, typename... Args>
+void append_option(Args&& ...)
{ }
template <typename... T>