Remove COMPARE macro from TimingData.h
This commit is contained in:
+1
-7
@@ -12,9 +12,6 @@
|
|||||||
|
|
||||||
struct lua_State;
|
struct lua_State;
|
||||||
|
|
||||||
/** @brief Compare a TimingData segment's properties with one another. */
|
|
||||||
#define COMPARE(x) if(this->x!=other.x) return false;
|
|
||||||
|
|
||||||
/* convenience functions to handle static casting */
|
/* convenience functions to handle static casting */
|
||||||
template<class T>
|
template<class T>
|
||||||
inline T ToDerived( const TimingSegment *t, TimingSegmentType tst )
|
inline T ToDerived( const TimingSegment *t, TimingSegmentType tst )
|
||||||
@@ -418,8 +415,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
COMPARE( m_fBeat0OffsetInSeconds );
|
return this->m_fBeat0OffsetInSeconds == other.m_fBeat0OffsetInSeconds;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -474,8 +470,6 @@ protected:
|
|||||||
std::array<std::vector<TimingSegment *>, NUM_TimingSegmentType> m_avpTimingSegments;
|
std::array<std::vector<TimingSegment *>, NUM_TimingSegmentType> m_avpTimingSegments;
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef COMPARE
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user