diff options
Diffstat (limited to 'libs/evoral/evoral/Note.hpp')
-rw-r--r-- | libs/evoral/evoral/Note.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/evoral/evoral/Note.hpp b/libs/evoral/evoral/Note.hpp index 43db728b0c..88d4077af9 100644 --- a/libs/evoral/evoral/Note.hpp +++ b/libs/evoral/evoral/Note.hpp @@ -43,8 +43,6 @@ public: Note(const Note<Time>& copy); ~Note(); - const Note<Time>& operator=(const Note<Time>& copy); - inline bool operator==(const Note<Time>& other) { return time() == other.time() && note() == other.note() && @@ -69,6 +67,8 @@ public: } private: + const Note<Time>& operator=(const Note<Time>& copy); // undefined (unsafe) + inline int clamp(int val, int low, int high) { return std::min (std::max (val, low), high); } |