diff options
Diffstat (limited to 'request.cc')
-rw-r--r-- | request.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/request.cc b/request.cc index 88fdb3349f..fd032fcfd8 100644 --- a/request.cc +++ b/request.cc @@ -1,6 +1,15 @@ #include "request.hh" #include "debug.hh" +#define VIRTUALCONS(T,R) R *T::clone() const { return new T(*this); } struct T +#define RCONS(T) VIRTUALCONS(T, Request) + +RCONS(Rest_req); +RCONS(Rhythmic_req); +RCONS(Stem_req); +RCONS(Note_req); + + void Request::print() const { |