Ensure code is -W4 clean on VC++.

Remove unneeded parameters from one function.
Change casts so they actually work correctly on Win64 platforms.


[SVN r31284]
This commit is contained in:
John Maddock
2005-10-11 14:27:56 +00:00
parent 68ddd5edba
commit 4ea7e99509
5 changed files with 15 additions and 20 deletions

View File

@ -41,14 +41,11 @@ perl_matcher<BidiIterator, Allocator, traits>::perl_matcher(BidiIterator first,
position(first), backstop(b), re(e), traits_inst(e.get_traits()),
m_independent(false), next_count(&rep_obj), rep_obj(&next_count)
{
construct_init(first, last, what, e, f);
construct_init(e, f);
}
template <class BidiIterator, class Allocator, class traits>
void perl_matcher<BidiIterator, Allocator, traits>::construct_init(BidiIterator first, BidiIterator end,
match_results<BidiIterator, Allocator>& what,
const basic_regex<char_type, traits>& e,
match_flag_type f)
void perl_matcher<BidiIterator, Allocator, traits>::construct_init(const basic_regex<char_type, traits>& e, match_flag_type f)
{
typedef typename regex_iterator_traits<BidiIterator>::iterator_category category;