diff --git a/example/snippets/regex_match_example.cpp b/example/snippets/regex_match_example.cpp index a711ffd4..bd35d169 100644 --- a/example/snippets/regex_match_example.cpp +++ b/example/snippets/regex_match_example.cpp @@ -65,7 +65,7 @@ istream& getline(istream& is, std::string& s) } #endif -int main(int argc) +int main(int argc, const char*[]) { std::string in, out; do diff --git a/example/snippets/regex_split_example_1.cpp b/example/snippets/regex_split_example_1.cpp index 10d64036..25d2e576 100644 --- a/example/snippets/regex_split_example_1.cpp +++ b/example/snippets/regex_split_example_1.cpp @@ -47,7 +47,7 @@ istream& getline(istream& is, std::string& s) #endif -int main(int argc) +int main(int argc, const char*[]) { string s; list l; diff --git a/example/snippets/regex_token_iterator_eg_1.cpp b/example/snippets/regex_token_iterator_eg_1.cpp index fbf7f5b0..e12881e8 100644 --- a/example/snippets/regex_token_iterator_eg_1.cpp +++ b/example/snippets/regex_token_iterator_eg_1.cpp @@ -40,7 +40,7 @@ istream& getline(istream& is, std::string& s) #endif -int main(int argc) +int main(int argc, const char*[]) { string s; do{