Skip to content

Commit

Permalink
Put ifndef around unused method for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
thspeer authored and ktf committed May 14, 2014
1 parent 218732d commit 98df42c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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 )
{
Expand Down

0 comments on commit 98df42c

Please sign in to comment.