From 3045723a54ebdeba0401958ba00d10aa5856fc5f Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 28 Jun 2001 11:44:36 +0000 Subject: [PATCH] Added std:: prefix to some size_t's [SVN r10463] --- include/boost/regex.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/regex.hpp b/include/boost/regex.hpp index 86526ff5..9b92f173 100644 --- a/include/boost/regex.hpp +++ b/include/boost/regex.hpp @@ -976,7 +976,7 @@ public: void BOOST_RE_CALL init_fail(iterator i, iterator j); void BOOST_RE_CALL set_first(iterator i); - void BOOST_RE_CALL set_first(iterator i, size_t pos); + void BOOST_RE_CALL set_first(iterator i, std::size_t pos); void BOOST_RE_CALL set_second(iterator i) { @@ -987,7 +987,7 @@ public: ref->tail.matched = (ref->tail.first == ref->tail.second) ? false : true; } - void BOOST_RE_CALL set_second(iterator i, size_t pos, bool m = true) + void BOOST_RE_CALL set_second(iterator i, std::size_t pos, bool m = true) { cow(); ((sub_match*)((char*)ref + sizeof(c_reference) + sizeof(sub_match) * pos))->second = i; @@ -1032,7 +1032,7 @@ void BOOST_RE_CALL match_results_base::set_first(iterator i } template -void BOOST_RE_CALL match_results_base::set_first(iterator i, size_t pos) +void BOOST_RE_CALL match_results_base::set_first(iterator i, std::size_t pos) { cow(); ((sub_match*)((char*)ref + sizeof(c_reference) + sizeof(sub_match) * pos))->first = i;