OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49c3494
)
Make Merge_key_less operator() inline.
author
iant
<iant>
Thu, 22 Nov 2007 00:45:46 +0000
(
00:45
+0000)
committer
iant
<iant>
Thu, 22 Nov 2007 00:45:46 +0000
(
00:45
+0000)
gold/merge.cc
patch
|
blob
|
history
gold/merge.h
patch
|
blob
|
history
diff --git
a/gold/merge.cc
b/gold/merge.cc
index
15d3b7c
..
0c4256b
100644
(file)
--- a/
gold/merge.cc
+++ b/
gold/merge.cc
@@
-35,7
+35,7
@@
namespace gold
// Sort the entries in a merge mapping. The key is an input object, a
// section index in that object, and an offset in that section.
-bool
+
inline
bool
Merge_map::Merge_key_less::operator()(const Merge_key& mk1,
const Merge_key& mk2) const
{
diff --git
a/gold/merge.h
b/gold/merge.h
index
630b593
..
1f750c5
100644
(file)
--- a/
gold/merge.h
+++ b/
gold/merge.h
@@
-70,7
+70,7
@@
class Merge_map
struct Merge_key_less
{
- bool
+
inline
bool
operator()(const Merge_key&, const Merge_key&) const;
};