summaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-16 20:01:16 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-16 20:01:16 +0000
commitda7afef6dcaf77948a59770d7640c31d7e276fbf (patch)
treee5535a6358aabf7739f9693753db282176234a1d /libstdc++-v3/libsupc++
parent821fd9e8ec9f606cbce743133ece38e850804641 (diff)
downloadgcc-da7afef6dcaf77948a59770d7640c31d7e276fbf.tar.gz
PR libstdc++/56468
* libsupc++/exception_ptr.h (type_info): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196709 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libsupc++')
-rw-r--r--libstdc++-v3/libsupc++/exception_ptr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/libsupc++/exception_ptr.h b/libstdc++-v3/libsupc++/exception_ptr.h
index 7a535f22083..bbf8f85d47b 100644
--- a/libstdc++-v3/libsupc++/exception_ptr.h
+++ b/libstdc++-v3/libsupc++/exception_ptr.h
@@ -44,6 +44,8 @@ extern "C++" {
namespace std
{
+ class type_info;
+
/**
* @addtogroup exceptions
* @{
@@ -141,7 +143,7 @@ namespace std
operator==(const exception_ptr&, const exception_ptr&)
_GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
- const class type_info*
+ const class std::type_info*
__cxa_exception_type() const _GLIBCXX_USE_NOEXCEPT
__attribute__ ((__pure__));
};