From 620aad63042e0f397ea6691fe92ac40fcc6b6fed Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 9 Feb 2017 16:04:43 +0800 Subject: Add extra midi formats support via the file reader API. Fix note counting. --- include/qmpcorepublic.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/qmpcorepublic.hpp') diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp index f42d42a..3ce0545 100644 --- a/include/qmpcorepublic.hpp +++ b/include/qmpcorepublic.hpp @@ -22,6 +22,7 @@ struct SEvent p1=_p1;p2=_p2; if(s)str=std::string(s);else str=""; } + friend bool operator <(const SEvent& a,const SEvent& b){return a.time-b.time?a.time