summaryrefslogtreecommitdiffstats
path: root/src/test/libcephsqlite/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/libcephsqlite/main.cc')
-rw-r--r--src/test/libcephsqlite/main.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/libcephsqlite/main.cc b/src/test/libcephsqlite/main.cc
index 28ab88e7cb9..40bab659cf3 100644
--- a/src/test/libcephsqlite/main.cc
+++ b/src/test/libcephsqlite/main.cc
@@ -1093,8 +1093,7 @@ out:
int main(int argc, char **argv) {
- std::vector<const char*> args;
- argv_to_vec(argc, (const char **)argv, args);
+ auto args = argv_to_vec(argc, argv);
std::string conf_file_list;
std::string cluster;