From d8a88976788511b8a3476bbba45fc185bea1ab07 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 22 Nov 2007 00:45:46 +0000 Subject: [PATCH] Make Merge_key_less operator() inline. --- gold/merge.cc | 2 +- gold/merge.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gold/merge.cc b/gold/merge.cc index 15d3b7cd1bd..0c4256ba7a5 100644 --- 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 630b5936ec0..1f750c54774 100644 --- 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; }; -- 2.30.2