diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 22:05:50 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 22:05:50 +0000 |
commit | 00295f3c431c2e8af226a90448bfdd35adaea55f (patch) | |
tree | b602bfc732c56f231730f036c49ba01e9b1e257e /libstdc++-v3 | |
parent | b14e6fc55db1a3b0e65ed88b96bb9db2dddaecc8 (diff) | |
download | gcc-00295f3c431c2e8af226a90448bfdd35adaea55f.tar.gz |
2009-08-12 Benjamin Kosnik <bkoz@redhat.com>
* src/compatibility-ldbl.cc: Add explicit namespace scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-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 d9757457c4e..bb2cd4a05d3 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 dd9afe0fa0d..79917d9f1cc 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 () |