diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2009-08-12 22:05:50 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2009-08-12 22:05:50 +0000 |
commit | 5d32a15e3b00f50f1aaa5ebd80a6f8fe95840aa3 (patch) | |
tree | b602bfc732c56f231730f036c49ba01e9b1e257e | |
parent | 88ccda10f122f860a98863c55d5524fec819f00c (diff) | |
download | gcc-5d32a15e3b00f50f1aaa5ebd80a6f8fe95840aa3.zip gcc-5d32a15e3b00f50f1aaa5ebd80a6f8fe95840aa3.tar.gz gcc-5d32a15e3b00f50f1aaa5ebd80a6f8fe95840aa3.tar.bz2 |
compatibility-ldbl.cc: Add explicit namespace scope.
2009-08-12 Benjamin Kosnik <bkoz@redhat.com>
* src/compatibility-ldbl.cc: Add explicit namespace scope.
From-SVN: r150707
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/src/compatibility-ldbl.cc | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d975745..bb2cd4a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2009-08-12 Benjamin Kosnik <bkoz@redhat.com> + + * src/compatibility-ldbl.cc: Add explicit namespace scope. + 2009-08-11 Benjamin Kosnik <bkoz@redhat.com> * include/precompiled/extc++.h: Don't include TR1 if C++0x. diff --git a/libstdc++-v3/src/compatibility-ldbl.cc b/libstdc++-v3/src/compatibility-ldbl.cc index dd9afe0..79917d9 100644 --- a/libstdc++-v3/src/compatibility-ldbl.cc +++ b/libstdc++-v3/src/compatibility-ldbl.cc @@ -68,7 +68,13 @@ namespace std } // For std::tr1::hash<long double>::operator () +namespace std +{ + namespace tr1 + { #include "hash.cc" + } +} // std::tr1::hash<long double>::operator () // and std::hash<long double>::operator () |