mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Replaced some static_casts with explicit construction
[SVN r9107]
This commit is contained in:
parent
2efc9c1178
commit
eeeb7ef5b9
@ -155,8 +155,8 @@ void test_container(Container* = 0) // default arg works around MSVC bug
|
||||
|
||||
test(start, finish);
|
||||
|
||||
test(static_cast<typename Container::const_iterator>(start),
|
||||
static_cast<typename Container::const_iterator>(finish));
|
||||
typedef typename Container::const_iterator const_iterator;
|
||||
test(const_iterator(start), const_iterator(finish));
|
||||
}
|
||||
|
||||
int main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user