Skip to content
Snippets Groups Projects
Commit 9277715d authored by Brad King's avatar Brad King
Browse files

BUG: For some reason the non-template allocator test compiles on VS6 even...

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.
parent edd5f647
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ int main() { return 0; } ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment