From 98df42cbd7b5a16212a949582b3b1a1ae3dfc7a6 Mon Sep 17 00:00:00 2001 From: Thomas Speer Date: Wed, 14 May 2014 15:54:59 +0200 Subject: [PATCH] Put ifndef around unused method for clang --- .../src/CrossingPtBasedLinearizationPointFinder.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc b/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc index 09ca41f5ae8fe..d9fb921e76cb6 100644 --- a/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc +++ b/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc @@ -34,6 +34,7 @@ inline GlobalPoint operator / ( const GlobalPoint & a, const double b ) return GlobalPoint ( a.x() / b, a.y() / b, a.z() / b ); } +#ifndef __clang__ inline GlobalPoint operator * ( const GlobalPoint & a, const double b ) { return GlobalPoint ( a.x() * b, a.y() * b, a.z() * b ); @@ -43,6 +44,7 @@ inline GlobalPoint operator * ( const double b , const GlobalPoint & a ) { return GlobalPoint ( a.x() * b, a.y() * b, a.z() * b ); } +#endif inline unsigned int sum ( unsigned int nr ) {