summaryrefslogtreecommitdiff
path: root/libs/evoral/src/Note.cpp
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2009-02-10 22:06:56 +0000
committerHans Baier <hansfbaier@googlemail.com>2009-02-10 22:06:56 +0000
commit494e7feec64f8b9de42a08ae8e43c7e9df019255 (patch)
treefa07dd59de53f82e8c36d5305b93c53c4069ced4 /libs/evoral/src/Note.cpp
parent7666413e1837214f2350330ce1d257a499a9344f (diff)
* Code readability: Template parameter <T> -> <Time>
git-svn-id: svn://localhost/ardour2/branches/3.0@4521 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/Note.cpp')
-rw-r--r--libs/evoral/src/Note.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/evoral/src/Note.cpp b/libs/evoral/src/Note.cpp
index 7ba6bd5d6b..794fe33c48 100644
--- a/libs/evoral/src/Note.cpp
+++ b/libs/evoral/src/Note.cpp
@@ -21,8 +21,8 @@
namespace Evoral {
-template<typename T>
-Note<T>::Note(uint8_t chan, T t, EventLength l, uint8_t n, uint8_t v)
+template<typename Time>
+Note<Time>::Note(uint8_t chan, Time t, EventLength l, uint8_t n, uint8_t v)
// FIXME: types?
: _on_event(0xDE, t, 3, NULL, true)
, _off_event(0xAD, t + l, 3, NULL, true)
@@ -46,8 +46,8 @@ Note<T>::Note(uint8_t chan, T t, EventLength l, uint8_t n, uint8_t v)
}
-template<typename T>
-Note<T>::Note(const Note<T>& copy)
+template<typename Time>
+Note<Time>::Note(const Note<Time>& copy)
: _on_event(copy._on_event, true)
, _off_event(copy._off_event, true)
{
@@ -73,15 +73,15 @@ Note<T>::Note(const Note<T>& copy)
}
-template<typename T>
-Note<T>::~Note()
+template<typename Time>
+Note<Time>::~Note()
{
}
-template<typename T>
-const Note<T>&
-Note<T>::operator=(const Note<T>& copy)
+template<typename Time>
+const Note<Time>&
+Note<Time>::operator=(const Note<Time>& copy)
{
_on_event = copy._on_event;
_off_event = copy._off_event;