mirror of
https://github.com/osm2pgsql-dev/osm2pgsql.git
synced 2025-08-19 16:28:16 +00:00
Fix some misc code smells reported by clang-tidy
This commit is contained in:
@ -29,7 +29,7 @@ static options_t opt(std::vector<char const *> opts)
|
||||
{
|
||||
opts.insert(opts.begin(), "osm2pgsql");
|
||||
opts.push_back(TEST_PBF);
|
||||
return options_t((int)opts.size(), (char **)opts.data());
|
||||
return {(int)opts.size(), (char **)opts.data()};
|
||||
}
|
||||
|
||||
TEST_CASE("Insufficient arguments", "[NoDB]")
|
||||
|
Reference in New Issue
Block a user