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;