diff options
author | Brad King <brad.king@kitware.com> | 2008-01-31 13:32:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-31 13:32:08 (GMT) |
commit | 065f23ba3869c32801d626bbff6c69dafc807f10 (patch) | |
tree | 1dcf657cc4bcae51949c542c8d45091fc98c2056 /Source | |
parent | e3c2c1923a9e9b46101bdc84b9e5a7601a95909d (diff) | |
download | CMake-065f23ba3869c32801d626bbff6c69dafc807f10.zip CMake-065f23ba3869c32801d626bbff6c69dafc807f10.tar.gz CMake-065f23ba3869c32801d626bbff6c69dafc807f10.tar.bz2 |
STYLE: Work-around std:: check since this is a platform test.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/kwsysPlatformTestsCXX.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/kwsys/kwsysPlatformTestsCXX.cxx b/Source/kwsys/kwsysPlatformTestsCXX.cxx index 93d7d22..f0a2dfc 100644 --- a/Source/kwsys/kwsysPlatformTestsCXX.cxx +++ b/Source/kwsys/kwsysPlatformTestsCXX.cxx @@ -29,7 +29,7 @@ #ifdef TEST_KWSYS_STL_HAVE_STD #include <list> -void f(std::list<int>*) {} +void f(std ::list<int>*) {} int main() { return 0; } #endif @@ -40,7 +40,7 @@ int main() { return 0; } #ifdef TEST_KWSYS_IOS_HAVE_STD #include <iosfwd> -void f(std::ostream*) {} +void f(std ::ostream*) {} int main() { return 0; } #endif @@ -50,8 +50,8 @@ int main() { return 0; } # error "GCC 2.96 stringstream is buggy" #endif int main() -{ - std::ostringstream ostr; +{ + std ::ostringstream ostr; ostr << "hello"; if(ostr.str().size() == 5) { |