Move PBD::canonical_path to pbd/file_utils.h/cc and reimplement for Windows
[ardour.git] / libs / evoral / evoral / PatchChange.hpp
index e05157aa92318abdf1ea81a357b3225b83058151..39ea4212429c5d8159bba381a363d94c977a3189 100644 (file)
@@ -120,7 +120,7 @@ public:
        uint8_t channel () const { return _program_change.buffer()[0] & 0xf; }
 
        inline bool operator< (const PatchChange<Time>& o) const {
-               if (!musical_time_equal (time(), o.time())) {
+               if (time() != o.time()) {
                        return time() < o.time();
                }
 
@@ -132,7 +132,7 @@ public:
        }
 
        inline bool operator== (const PatchChange<Time>& o) const {
-               return (musical_time_equal (time(), o.time()) && program() == o.program() && bank() == o.bank());
+               return (time() == o.time() && program() == o.program() && bank() == o.bank());
        }
 
        /** The PatchChange is made up of messages() MIDI messages; this method returns them by index.
@@ -147,8 +147,7 @@ public:
                case 2:
                        return _program_change;
                default:
-                       abort ();
-                       /*NOTREACHED*/
+                       abort(); /*NOTREACHED*/
                        return _program_change;
                }
        }