From: Martin v. Löwis Date: Sun, 2 May 1999 22:44:24 +0000 (+0000) Subject: * tinfo.cc (operator==): Qualify type_info with std::. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63061bc6f5f173a300f359e6a446f35b3e88f423;p=gcc.git * tinfo.cc (operator==): Qualify type_info with std::. From-SVN: r26736 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c767fb37e25..f21d2b128ab 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-05-02 Martin von Löwis + + * tinfo.cc (operator==): Qualify type_info with std::. + 1999-05-02 Mark Mitchell * cp-tree.h (lang_decl_flags): Remove comdat. Updated dummy. diff --git a/gcc/cp/tinfo.cc b/gcc/cp/tinfo.cc index 0d782ea375a..5269cb5940e 100644 --- a/gcc/cp/tinfo.cc +++ b/gcc/cp/tinfo.cc @@ -40,8 +40,8 @@ std::type_info:: { } // We can't rely on common symbols being shared between shared objects. -bool type_info:: -operator== (const type_info& arg) const +bool std::type_info:: +operator== (const std::type_info& arg) const { return (&arg == this) || (strcmp (name (), arg.name ()) == 0); }