diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-22 02:26:47 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-22 02:26:47 +0000 |
| commit | ab10ed245ca5a4f2b2b8134b2001b5b747571119 (patch) | |
| tree | 97e3fb9a2af996c722d278749bc7d3da16588806 /libstdc++-v3/include/c_std | |
| parent | 10c73e3f6f83517d72a425ab7afbd1dd35149558 (diff) | |
| download | ppe42-gcc-ab10ed245ca5a4f2b2b8134b2001b5b747571119.tar.gz ppe42-gcc-ab10ed245ca5a4f2b2b8134b2001b5b747571119.zip | |
2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
_GLIBCXX_END_NAMESPACE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std')
| -rw-r--r-- | libstdc++-v3/include/c_std/cmath.tcc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libstdc++-v3/include/c_std/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc index 737b58c7de9..b2df1be0bd1 100644 --- a/libstdc++-v3/include/c_std/cmath.tcc +++ b/libstdc++-v3/include/c_std/cmath.tcc @@ -1,6 +1,6 @@ // -*- C++ -*- C math library. -// Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2003, 2004, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,8 +32,8 @@ #ifndef _GLIBCXX_CMATH_TCC #define _GLIBCXX_CMATH_TCC 1 -namespace std -{ +_GLIBCXX_BEGIN_NAMESPACE(std) + template<typename _Tp> inline _Tp __cmath_power(_Tp __x, unsigned int __n) @@ -49,6 +49,7 @@ namespace std return __y; } -} + +_GLIBCXX_END_NAMESPACE #endif |

