Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/AutomatableModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class LMMS_EXPORT AutomatableModel : public Model, public JournallingObject
template<class T>
inline T value( int frameOffset = 0 ) const
{
if( unlikely( hasLinkedModels() || m_controllerConnection != NULL ) )
if( hasLinkedModels() || m_controllerConnection != NULL )
{
return castValue<T>( controllerValue( frameOffset ) );
}
Expand Down
3 changes: 0 additions & 3 deletions include/lmms_basics.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ typedef uint16_t fx_ch_t; // FX-channel (0 to MAX_EFFECT_CHANNEL)

typedef uint32_t jo_id_t; // (unique) ID of a journalling object

// use for improved branch prediction
#define likely(x) Q_LIKELY(x)
#define unlikely(x) Q_UNLIKELY(x)

// windows headers define "min" and "max" macros, breaking the methods bwloe
#undef min
Expand Down