Added std:: prefix to some size_t's

[SVN r10463]
This commit is contained in:
John Maddock
2001-06-28 11:44:36 +00:00
parent 2fd9ef66cc
commit 3045723a54

View File

@ -976,7 +976,7 @@ public:
void BOOST_RE_CALL init_fail(iterator i, iterator j); 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);
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) void BOOST_RE_CALL set_second(iterator i)
{ {
@ -987,7 +987,7 @@ public:
ref->tail.matched = (ref->tail.first == ref->tail.second) ? false : true; 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(); cow();
((sub_match<iterator>*)((char*)ref + sizeof(c_reference) + sizeof(sub_match<iterator>) * pos))->second = i; ((sub_match<iterator>*)((char*)ref + sizeof(c_reference) + sizeof(sub_match<iterator>) * pos))->second = i;
@ -1032,7 +1032,7 @@ void BOOST_RE_CALL match_results_base<iterator, Allocator>::set_first(iterator i
} }
template <class iterator, class Allocator> template <class iterator, class Allocator>
void BOOST_RE_CALL match_results_base<iterator, Allocator>::set_first(iterator i, size_t pos) void BOOST_RE_CALL match_results_base<iterator, Allocator>::set_first(iterator i, std::size_t pos)
{ {
cow(); cow();
((sub_match<iterator>*)((char*)ref + sizeof(c_reference) + sizeof(sub_match<iterator>) * pos))->first = i; ((sub_match<iterator>*)((char*)ref + sizeof(c_reference) + sizeof(sub_match<iterator>) * pos))->first = i;