Skip to content
Browse files

-

  • Loading branch information...
1 parent 8f84508 commit 1f1d31d93383322d625b827152271f6b8b800f97 @andreasbaumann andreasbaumann committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/wolfilterCommandLine.cpp
View
3 src/wolfilterCommandLine.cpp
@@ -67,8 +67,7 @@ WolfilterCommandLine::WolfilterCommandLine( int argc, const char** argv)
popt.add( "input-filter", 1);
po::variables_map vmap;
- // Aba: program options take a char ** not a const char **
- po::store( po::command_line_parser(argc, const_cast<char **>(argv)).options(fopt).positional(popt).run(), vmap);
+ po::store( po::command_line_parser(argc, argv).options(fopt).positional(popt).run(), vmap);
po::notify( vmap);
m_printversion = vmap.count( "version");

0 comments on commit 1f1d31d

Please sign in to comment.
Something went wrong with that request. Please try again.