Make argv arrays const

This commit is contained in:
Andrew Ayer
2014-07-05 14:22:55 -07:00
parent 3d0e7570ed
commit d417f97f8e
5 changed files with 31 additions and 31 deletions

View File

@@ -48,7 +48,7 @@ struct Option_def {
typedef std::vector<Option_def> Options_list;
int parse_options (const Options_list& options, int argc, char** argv);
int parse_options (const Options_list& options, int argc, const char** argv);
struct Option_error {
std::string option_name;