diff --git a/examples/insert.cpp b/examples/insert.cpp index be067815..ac8ebbb3 100644 --- a/examples/insert.cpp +++ b/examples/insert.cpp @@ -27,7 +27,7 @@ #include "MockDb.h" #include -int insert(int, char**) +int insert(int, char*[]) { MockDb db{}; diff --git a/examples/ppgen.cpp b/examples/ppgen.cpp index eeaa13e2..adf5b840 100644 --- a/examples/ppgen.cpp +++ b/examples/ppgen.cpp @@ -63,7 +63,7 @@ SQLPP_DECLARE_TABLE( ) // clang-format on -int ppgen(int, char**) +int ppgen(int, char*[]) { MockDb db{}; const auto p = tab_person::tab_person{}; diff --git a/examples/remove.cpp b/examples/remove.cpp index 98e7727c..c8bc4e9d 100644 --- a/examples/remove.cpp +++ b/examples/remove.cpp @@ -27,7 +27,7 @@ #include "MockDb.h" #include -int remove(int, char**) +int remove(int, char*[]) { MockDb db{}; diff --git a/examples/select.cpp b/examples/select.cpp index 7e89a9be..d0e8c771 100644 --- a/examples/select.cpp +++ b/examples/select.cpp @@ -36,7 +36,7 @@ SQLPP_ALIAS_PROVIDER(cheesecake) -int select(int, char**) +int select(int, char*[]) { static constexpr bool some_condition = true; static constexpr bool some_other_condition = false; diff --git a/examples/update.cpp b/examples/update.cpp index 89390805..264f518c 100644 --- a/examples/update.cpp +++ b/examples/update.cpp @@ -27,7 +27,7 @@ #include "MockDb.h" #include -int update(int, char**) +int update(int, char*[]) { MockDb db{}; diff --git a/test_static_asserts/aggregates.cpp b/test_static_asserts/aggregates.cpp index 86496ec7..9e50cfd3 100644 --- a/test_static_asserts/aggregates.cpp +++ b/test_static_asserts/aggregates.cpp @@ -123,7 +123,7 @@ namespace } } -int main(int, char**) +int main(int, char*[]) { no_group_by(); dynamic_group_by(); diff --git a/test_static_asserts/case.cpp b/test_static_asserts/case.cpp index bfea0b2f..df1ea6f0 100644 --- a/test_static_asserts/case.cpp +++ b/test_static_asserts/case.cpp @@ -152,7 +152,7 @@ namespace } } -int main(int, char**) +int main(int, char*[]) { when(); then(); diff --git a/test_static_asserts/date.cpp b/test_static_asserts/date.cpp index a388c5e1..b22fc1bf 100644 --- a/test_static_asserts/date.cpp +++ b/test_static_asserts/date.cpp @@ -83,7 +83,7 @@ namespace } } -int main(int, char**) +int main(int, char*[]) { allowed_comparands(); disallowed_comparands(); diff --git a/test_static_asserts/date_time.cpp b/test_static_asserts/date_time.cpp index 32e03129..e8db0a6d 100644 --- a/test_static_asserts/date_time.cpp +++ b/test_static_asserts/date_time.cpp @@ -83,7 +83,7 @@ namespace } } -int main(int, char**) +int main(int, char*[]) { allowed_comparands(); disallowed_comparands(); diff --git a/test_static_asserts/insert.cpp b/test_static_asserts/insert.cpp index 866ab1d4..b6254d67 100644 --- a/test_static_asserts/insert.cpp +++ b/test_static_asserts/insert.cpp @@ -168,7 +168,7 @@ namespace } } -int main(int, char**) +int main(int, char*[]) { static_set(); dynamic_set(); diff --git a/test_static_asserts/where.cpp b/test_static_asserts/where.cpp index b7cdb0bd..2e624f7a 100644 --- a/test_static_asserts/where.cpp +++ b/test_static_asserts/where.cpp @@ -143,7 +143,7 @@ namespace } } -int main(int, char**) +int main(int, char*[]) { static_where(); dynamic_where(); diff --git a/tests/BooleanExpression.cpp b/tests/BooleanExpression.cpp index 57489e63..a078e61a 100644 --- a/tests/BooleanExpression.cpp +++ b/tests/BooleanExpression.cpp @@ -28,7 +28,7 @@ #include "MockDb.h" #include -int BooleanExpression(int, char**) +int BooleanExpression(int, char*[]) { MockDb db = {}; const auto t = test::TabBar{}; diff --git a/tests/CustomQuery.cpp b/tests/CustomQuery.cpp index 8d134199..d0cc4264 100644 --- a/tests/CustomQuery.cpp +++ b/tests/CustomQuery.cpp @@ -29,7 +29,7 @@ #include #include -int CustomQuery(int, char**) +int CustomQuery(int, char*[]) { MockDb db = {}; MockDb::_serializer_context_t printer = {}; diff --git a/tests/DateTime.cpp b/tests/DateTime.cpp index f23765e1..1783870f 100644 --- a/tests/DateTime.cpp +++ b/tests/DateTime.cpp @@ -30,7 +30,7 @@ SQLPP_ALIAS_PROVIDER(now) -int DateTime(int, char**) +int DateTime(int, char*[]) { MockDb db = {}; MockDb::_serializer_context_t printer = {}; diff --git a/tests/Function.cpp b/tests/Function.cpp index 5393179b..728b6c63 100644 --- a/tests/Function.cpp +++ b/tests/Function.cpp @@ -35,7 +35,7 @@ SQLPP_ALIAS_PROVIDER(kaesekuchen) -int Function(int, char**) +int Function(int, char*[]) { MockDb db = {}; const auto f = test::TabFoo{}; diff --git a/tests/Insert.cpp b/tests/Insert.cpp index 750c6f49..a97fc9aa 100644 --- a/tests/Insert.cpp +++ b/tests/Insert.cpp @@ -30,7 +30,7 @@ #include #include -int Insert(int, char**) +int Insert(int, char*[]) { MockDb db = {}; MockDb::_serializer_context_t printer = {}; diff --git a/tests/Interpret.cpp b/tests/Interpret.cpp index f1620763..b7c5a002 100644 --- a/tests/Interpret.cpp +++ b/tests/Interpret.cpp @@ -29,7 +29,7 @@ #include -int Interpret(int, char**) +int Interpret(int, char*[]) { MockDb db = {}; MockDb::_serializer_context_t printer = {}; diff --git a/tests/Minimalistic.cpp b/tests/Minimalistic.cpp index 57e05785..831b109a 100644 --- a/tests/Minimalistic.cpp +++ b/tests/Minimalistic.cpp @@ -1,6 +1,6 @@ #include -int Minimalistic(int, char**) +int Minimalistic(int, char*[]) { return 0; } diff --git a/tests/Prepared.cpp b/tests/Prepared.cpp index 11d2683d..3138c0cf 100644 --- a/tests/Prepared.cpp +++ b/tests/Prepared.cpp @@ -29,7 +29,7 @@ #include #include -int Prepared(int, char**) +int Prepared(int, char*[]) { MockDb db = {}; // test::TabFoo f; diff --git a/tests/Remove.cpp b/tests/Remove.cpp index 6130cc98..1b785e00 100644 --- a/tests/Remove.cpp +++ b/tests/Remove.cpp @@ -29,7 +29,7 @@ #include "MockDb.h" #include "is_regular.h" -int Remove(int, char**) +int Remove(int, char*[]) { MockDb db = {}; MockDb::_serializer_context_t printer = {}; diff --git a/tests/Result.cpp b/tests/Result.cpp index 23d756a7..720b2870 100644 --- a/tests/Result.cpp +++ b/tests/Result.cpp @@ -31,7 +31,7 @@ static_assert(not sqlpp::enforce_null_result_treatment_t::value, "MockDb interprets NULL as trivial"); static_assert(sqlpp::enforce_null_result_treatment_t::value, "MockDb does not interpret NULL as trivial"); -int Result(int, char**) +int Result(int, char*[]) { MockDb db = {}; EnforceDb edb{}; diff --git a/tests/Select.cpp b/tests/Select.cpp index 2870fd92..139b539e 100644 --- a/tests/Select.cpp +++ b/tests/Select.cpp @@ -42,7 +42,7 @@ int64_t getColumn(Db&& db, const Column& column) return 0; } -int Select(int, char**) +int Select(int, char*[]) { MockDb db = {}; MockDb::_serializer_context_t printer = {}; diff --git a/tests/SelectType.cpp b/tests/SelectType.cpp index 7a804c92..18a12656 100644 --- a/tests/SelectType.cpp +++ b/tests/SelectType.cpp @@ -40,7 +40,7 @@ namespace alias SQLPP_ALIAS_PROVIDER(right) } -int SelectType(int, char**) +int SelectType(int, char*[]) { MockDb db = {}; MockDb::_serializer_context_t printer = {}; diff --git a/tests/Union.cpp b/tests/Union.cpp index 142a46da..818e5d0f 100644 --- a/tests/Union.cpp +++ b/tests/Union.cpp @@ -29,7 +29,7 @@ #include #include -int Union(int, char**) +int Union(int, char*[]) { MockDb db; MockDb::_serializer_context_t printer = {}; diff --git a/tests/Update.cpp b/tests/Update.cpp index a0e85405..8922bc92 100644 --- a/tests/Update.cpp +++ b/tests/Update.cpp @@ -29,7 +29,7 @@ #include "MockDb.h" #include "is_regular.h" -int Update(int, char**) +int Update(int, char*[]) { MockDb db; MockDb::_serializer_context_t printer = {}; diff --git a/tests/With.cpp b/tests/With.cpp index 3462b1e4..801c2581 100644 --- a/tests/With.cpp +++ b/tests/With.cpp @@ -29,7 +29,7 @@ #include #include -int With(int, char**) +int With(int, char*[]) { MockDb db; MockDb::_serializer_context_t printer = {};