Remove double ArgFixer introduced in fefcccd5.
authorCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2024 23:50:31 +0000 (01:50 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2024 23:50:31 +0000 (01:50 +0200)
src/tools/dcpomatic_kdm_cli.cc

index 1db5ce7f93ecf6968f481c7e4849e63a37037455..c30fe4e6a4cd9e9cdc97714618b16530f1105785 100644 (file)
 int
 main (int argc, char* argv[])
 {
-       ArgFixer fixer(argc, argv);
-
        dcpomatic_setup_path_encoding ();
        dcpomatic_setup ();
 
-       auto error = kdm_cli (fixer.argc(), fixer.argv(), [](std::string s) { std::cout << s << "\n"; });
+       auto error = kdm_cli(argc, argv, [](std::string s) { std::cout << s << "\n"; });
        if (error) {
                std::cerr << *error << "\n";
                exit (EXIT_FAILURE);