mirror of
https://github.com/boostorg/regex.git
synced 2025-07-14 04:46:36 +02:00
Added std:: prefix to some size_t's
[SVN r10463]
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user