From eebd1fb2dcaaddbadbf1b949e00265bb791c9537 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 15 Apr 2005 18:57:15 -0400 Subject: [PATCH] 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. --- Source/kwsys/kwsysPlatformCxxTests.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/kwsysPlatformCxxTests.cxx b/Source/kwsys/kwsysPlatformCxxTests.cxx index cb9fd06adc..8d248676d2 100644 --- a/Source/kwsys/kwsysPlatformCxxTests.cxx +++ b/Source/kwsys/kwsysPlatformCxxTests.cxx @@ -151,7 +151,7 @@ int main() { return 0; } #ifdef TEST_KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE #include -void f(kwsys_stl::allocator const&) {} +void f(kwsys_stl::allocator::size_type const&) {} int main() { return 0; } #endif