BUG: For some reason the non-template allocator test compiles on VS6 even though its allocator is a template. Adding ::size_type to be sure it accesses a member of the allocator.
This commit is contained in:
parent
c290726b8f
commit
eebd1fb2dc
@ -151,7 +151,7 @@ int main() { return 0; }
|
|||||||
|
|
||||||
#ifdef TEST_KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE
|
#ifdef TEST_KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE
|
||||||
#include <memory>
|
#include <memory>
|
||||||
void f(kwsys_stl::allocator const&) {}
|
void f(kwsys_stl::allocator::size_type const&) {}
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user