diff options
author | Brad King <brad.king@kitware.com> | 2005-04-15 22:57:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-15 22:57:15 (GMT) |
commit | eebd1fb2dcaaddbadbf1b949e00265bb791c9537 (patch) | |
tree | d5d9c9effaa340b8912bc373bf3ed55898953e1f | |
parent | c290726b8ffe7d979c730815f28f37b8b14188fb (diff) | |
download | CMake-eebd1fb2dcaaddbadbf1b949e00265bb791c9537.zip CMake-eebd1fb2dcaaddbadbf1b949e00265bb791c9537.tar.gz CMake-eebd1fb2dcaaddbadbf1b949e00265bb791c9537.tar.bz2 |
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.
-rw-r--r-- | Source/kwsys/kwsysPlatformCxxTests.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/kwsysPlatformCxxTests.cxx b/Source/kwsys/kwsysPlatformCxxTests.cxx index cb9fd06..8d24867 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 <memory> -void f(kwsys_stl::allocator const&) {} +void f(kwsys_stl::allocator::size_type const&) {} int main() { return 0; } #endif |