We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e35cb57 + 59b70d1 commit ade848dCopy full SHA for ade848d
1 file changed
src/db-copy-mgr.hpp
@@ -80,17 +80,10 @@ class db_copy_mgr_t
80
*
81
* See add_column().
82
*/
83
- template <typename T, typename... ARGS>
84
- void add_columns(T value, ARGS &&... args)
85
- {
86
- add_column(value);
87
- add_columns(std::forward<ARGS>(args)...);
88
- }
89
-
90
- template <typename T>
91
- void add_columns(T value)
+ template <typename... ARGS>
+ void add_columns(ARGS &&...args)
92
{
93
+ (add_column(std::forward<ARGS>(args)), ...);
94
}
95
96
/**
0 commit comments