From 107d4d5f634b3791fc6cf0e67f96e3960c5a234e Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 20 Dec 2006 09:45:03 +0000 Subject: [PATCH] Typo fix [SVN r36465] --- doc/Attic/introduction.html | 3 ++- doc/introduction.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/Attic/introduction.html b/doc/Attic/introduction.html index df9762e9..3a4fcc7c 100644 --- a/doc/Attic/introduction.html +++ b/doc/Attic/introduction.html @@ -70,7 +70,7 @@ that you need to reuse.

Now let's take that expression and place it in some C++ code to validate the format of a credit card number:

-
bool validate_card_format(const std::string s)
+      
bool validate_card_format(const std::string& s)
 {
    static const boost::regex e("(\\d{4}[- ]){3}\\d{4}");
    return regex_match(s, e);
@@ -178,3 +178,4 @@ std::string human_readable_card_number(const std::string s)
             or copy at http://www.boost.org/LICENSE_1_0.txt)

+ diff --git a/doc/introduction.html b/doc/introduction.html index df9762e9..3a4fcc7c 100644 --- a/doc/introduction.html +++ b/doc/introduction.html @@ -70,7 +70,7 @@ that you need to reuse.

Now let's take that expression and place it in some C++ code to validate the format of a credit card number:

-
bool validate_card_format(const std::string s)
+      
bool validate_card_format(const std::string& s)
 {
    static const boost::regex e("(\\d{4}[- ]){3}\\d{4}");
    return regex_match(s, e);
@@ -178,3 +178,4 @@ std::string human_readable_card_number(const std::string s)
             or copy at http://www.boost.org/LICENSE_1_0.txt)

+