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:
Brad King 2005-04-15 18:57:15 -04:00
parent c290726b8f
commit eebd1fb2dc
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ int main() { return 0; }
#ifdef TEST_KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE
#include <memory>
void f(kwsys_stl::allocator const&) {}
void f(kwsys_stl::allocator::size_type const&) {}
int main() { return 0; }
#endif