X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fevoral%2Fevoral%2FNote.hpp;h=87c8a9fe83b34e2a086051f71bb2fec0f101d68f;hb=ac9b5f872d5596897a1f99e439d8c56d670b4a42;hp=e84d6b9dc4e2a29f1102e7db86f3d9f76df73eef;hpb=2e27e21d3a09889311e18a8efe11abcaa6d9c8b3;p=ardour.git diff --git a/libs/evoral/evoral/Note.hpp b/libs/evoral/evoral/Note.hpp index e84d6b9dc4..87c8a9fe83 100644 --- a/libs/evoral/evoral/Note.hpp +++ b/libs/evoral/evoral/Note.hpp @@ -33,18 +33,22 @@ namespace Evoral { * Currently a note is defined as (on event, length, off event). */ template +#ifdef COMPILER_MSVC +class LIBEVORAL_LOCAL Note { +#else class LIBEVORAL_TEMPLATE_API Note { +#endif public: - Note(uint8_t chan=0, Time time=0, Time len=0, uint8_t note=0, uint8_t vel=0x40); + Note(uint8_t chan=0, Time time=Time(), Time len=Time(), uint8_t note=0, uint8_t vel=0x40); Note(const Note