diff options
author | louiz’ <louiz@louiz.org> | 2017-07-08 19:07:53 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-07-08 19:07:53 +0200 |
commit | 3974371e7b1c3af9eea47d25138b96298fc037f5 (patch) | |
tree | 9f102339594dae16519bc0134dc1fd754bb13b3f /src | |
parent | fd7ee48a86aee6a6c83cc22a167717de781ed3f6 (diff) | |
download | biboumi-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')
-rw-r--r-- | src/database/table.hpp | 4 |
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> |