Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-12-11 12:19:03


Author: johnmaddock
Date: 2007-12-11 12:19:03 EST (Tue, 11 Dec 2007)
New Revision: 41970
URL: http://svn.boost.org/trac/boost/changeset/41970

Log:
Fixes #1455.
Text files modified:
   trunk/libs/regex/example/snippets/regex_match_example.cpp | 2 +-
   trunk/libs/regex/example/snippets/regex_split_example_1.cpp | 2 +-
   trunk/libs/regex/example/snippets/regex_token_iterator_eg_1.cpp | 2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/regex/example/snippets/regex_match_example.cpp
==============================================================================
--- trunk/libs/regex/example/snippets/regex_match_example.cpp (original)
+++ trunk/libs/regex/example/snippets/regex_match_example.cpp 2007-12-11 12:19:03 EST (Tue, 11 Dec 2007)
@@ -65,7 +65,7 @@
 }
 #endif
 
-int main(int argc)
+int main(int argc, const char*[])
 {
    std::string in, out;
    do

Modified: trunk/libs/regex/example/snippets/regex_split_example_1.cpp
==============================================================================
--- trunk/libs/regex/example/snippets/regex_split_example_1.cpp (original)
+++ trunk/libs/regex/example/snippets/regex_split_example_1.cpp 2007-12-11 12:19:03 EST (Tue, 11 Dec 2007)
@@ -47,7 +47,7 @@
 #endif
 
 
-int main(int argc)
+int main(int argc, const char*[])
 {
    string s;
    list<string> l;

Modified: trunk/libs/regex/example/snippets/regex_token_iterator_eg_1.cpp
==============================================================================
--- trunk/libs/regex/example/snippets/regex_token_iterator_eg_1.cpp (original)
+++ trunk/libs/regex/example/snippets/regex_token_iterator_eg_1.cpp 2007-12-11 12:19:03 EST (Tue, 11 Dec 2007)
@@ -40,7 +40,7 @@
 #endif
 
 
-int main(int argc)
+int main(int argc, const char*[])
 {
    string s;
    do{


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk