From f72c7518be83fed59520c381974267b059382244 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 11 Dec 2007 17:19:03 +0000 Subject: [PATCH] Fixes #1455. [SVN r41970] --- example/snippets/regex_match_example.cpp | 2 +- example/snippets/regex_split_example_1.cpp | 2 +- example/snippets/regex_token_iterator_eg_1.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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{