Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
63061bc6
Commit
63061bc6
authored
May 02, 1999
by
Martin v. Löwis
Committed by
Martin v. Löwis
May 02, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tinfo.cc (operator==): Qualify type_info with std::.
From-SVN: r26736
parent
2a5557ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/tinfo.cc
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
63061bc6
1999-05-02 Martin von Lwis <loewis@informatik.hu-berlin.de>
* tinfo.cc (operator==): Qualify type_info with std::.
1999-05-02 Mark Mitchell <mark@codesourcery.com>
1999-05-02 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (lang_decl_flags): Remove comdat. Updated dummy.
* cp-tree.h (lang_decl_flags): Remove comdat. Updated dummy.
...
...
gcc/cp/tinfo.cc
View file @
63061bc6
...
@@ -40,8 +40,8 @@ std::type_info::
...
@@ -40,8 +40,8 @@ std::type_info::
{
}
{
}
// We can't rely on common symbols being shared between shared objects.
// We can't rely on common symbols being shared between shared objects.
bool
type_info
::
bool
std
::
type_info
::
operator
==
(
const
type_info
&
arg
)
const
operator
==
(
const
std
::
type_info
&
arg
)
const
{
{
return
(
&
arg
==
this
)
||
(
strcmp
(
name
(),
arg
.
name
())
==
0
);
return
(
&
arg
==
this
)
||
(
strcmp
(
name
(),
arg
.
name
())
==
0
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment