diff options
| author | Florian Jung <flo@windfisch.org> | 2013-08-11 19:06:13 +0200 | 
|---|---|---|
| committer | Florian Jung <flo@windfisch.org> | 2013-08-11 19:06:13 +0200 | 
| commit | 21249e793076b7d57731f8870cf830c8e2de8dfe (patch) | |
| tree | 17fb802d9192bd1d13709dcd6b0d22cb9bf5d7ed /muse2/muse | |
| parent | b3dfa3d035c3860a1007d4c0bd54a45245f6a70f (diff) | |
removed unused UndoOp ctors
Diffstat (limited to 'muse2/muse')
| -rw-r--r-- | muse2/muse/undo.cpp | 15 | ||||
| -rw-r--r-- | muse2/muse/undo.h | 5 | 
2 files changed, 1 insertions, 19 deletions
| diff --git a/muse2/muse/undo.cpp b/muse2/muse/undo.cpp index eccb4690..5081f86c 100644 --- a/muse2/muse/undo.cpp +++ b/muse2/muse/undo.cpp @@ -577,11 +577,6 @@ UndoOp::UndoOp()    type=UndoOp::DoNothing;  } -UndoOp::UndoOp(UndoType type_) -{ -	type = type_; -} -  UndoOp::UndoOp(UndoType type_, int a_, int b_, int c_)        {        assert(type_==AddKey || type_==DeleteKey || @@ -642,16 +637,6 @@ UndoOp::UndoOp(UndoType type_, Event& nev, Part* part_, bool doCtrls_, bool doCl        doClones = doClones_;        } -UndoOp::UndoOp(UndoType type_, int c, int ctrl_, int ov, int nv) -      { -      assert(false); // DELETETHIS whole ctor. -       -      type    = type_; -      channel = c; -      ctrl    = ctrl_; -      oVal    = ov; -      nVal    = nv; -      }  UndoOp::UndoOp(UndoType type_, Marker* copyMarker_, Marker* realMarker_)        { diff --git a/muse2/muse/undo.h b/muse2/muse/undo.h index 4fded825..a0b9c935 100644 --- a/muse2/muse/undo.h +++ b/muse2/muse/undo.h @@ -111,17 +111,14 @@ struct UndoOp {        UndoOp();        UndoOp(UndoType type, int a, int b, int c=0);        UndoOp(UndoType type, int n, Track* track); -      UndoOp(UndoType type, Part* part, unsigned old_len_or_tick=-1, unsigned new_len_or_tick=-1, bool doCtrls=false, bool doClones=false); // FIXME these bools are UNUSED!! +      UndoOp(UndoType type, Part* part, unsigned old_len_or_tick=-1, unsigned new_len_or_tick=-1, bool doCtrls=false, bool doClones=false); // FIXME these bools are UNUSED!!. XTICKS!        UndoOp(UndoType type, Part* part, const char* old_name, const char* new_name);        UndoOp(UndoType type, Event& oev, Event& nev, Part* part, bool doCtrls, bool doClones);        UndoOp(UndoType type, Event& nev, Part* part, bool doCtrls, bool doClones); -      UndoOp(UndoType type, Part* part, unsigned tick, bool doCtrls, bool doClones); // FIXME FINDMICHJETZT XTicks! -      UndoOp(UndoType type, int c, int ctrl, int ov, int nv);        UndoOp(UndoType type, const char* changedFile, const char* changeData, int startframe, int endframe);        UndoOp(UndoType type, Marker* copyMarker, Marker* realMarker);        UndoOp(UndoType type, Track* track, const char* old_name, const char* new_name);        UndoOp(UndoType type, Track* track, int old_chan, int new_chan); -      UndoOp(UndoType type);  };  class Undo : public std::list<UndoOp> { | 
