Skip to content

Commit 5212985

Browse files
David AbdurachmanovDavid Abdurachmanov
David Abdurachmanov
authored and
David Abdurachmanov
committed
RecoVertex/MultiVertexFit: clean -Wunused-function warnings
Signed-off-by: David Abdurachmanov <[email protected]>
1 parent cc24212 commit 5212985

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

RecoVertex/MultiVertexFit/src/LinTrackCache.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using namespace std;
55

66
namespace
77
{
8-
int verbose()
8+
inline int verbose()
99
{
1010
static const int ret = 0; /* SimpleConfigurable<int>
1111
(0, "LinTrackCache:Debug").value(); */

RecoVertex/MultiVertexFit/src/MultiVertexBSeeder.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace {
3131
return ret;
3232
}
3333

34-
int verbose()
34+
inline int verbose()
3535
{
3636
return 0;
3737
}
@@ -48,7 +48,7 @@ namespace {
4848
return a;
4949
}
5050

51-
bool element ( const reco::TransientTrack & rt, const TransientVertex & rv )
51+
inline bool element ( const reco::TransientTrack & rt, const TransientVertex & rv )
5252
{
5353
const vector < reco::TransientTrack > trks = rv.originalTracks();
5454
for ( vector< reco::TransientTrack >::const_iterator i=trks.begin(); i!=trks.end() ; ++i )
@@ -151,7 +151,7 @@ namespace {
151151
return pts;
152152
}
153153

154-
GlobalPoint computePos ( const GlobalTrajectoryParameters & jet,
154+
inline GlobalPoint computePos ( const GlobalTrajectoryParameters & jet,
155155
double s )
156156
{
157157
GlobalPoint ret = jet.position();

RecoVertex/MultiVertexFit/src/MultiVertexReconstructor.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace {
1010
return 0;
1111
}
1212

13-
void remove ( vector < TransientVertex > & vtces,
13+
inline void remove ( vector < TransientVertex > & vtces,
1414
const vector < reco::TransientTrack > & trks )
1515
{
1616
cout << "[MultiVertexReconstructor] fixme remove not yet implemented" << endl;

0 commit comments

Comments
 (0)