ardour/gtk2_ardour/midi_selection.cc
David Robillard 589cc3162b Fix crash when deleting overlapped regions.
Use RegionSelection for MIDI regions as well, since the old dumb stub didn't do
some things correctly.  There's probably no reason to have a separate class for
this at all, and some good ones for putting all regions in the same selection,
so we should probably do that.  For now they are still separate in the
selection but use the same base class.
2014-11-13 21:32:08 -05:00

36 lines
1.1 KiB
C++

/*
Copyright (C) 2009 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "midi_selection.h"
MidiRegionSelection::MidiRegionSelection ()
: RegionSelection ()
{}
MidiRegionSelection::MidiRegionSelection (MidiRegionSelection const & other)
: RegionSelection (other)
{}
MidiRegionSelection&
MidiRegionSelection::operator= (const MidiRegionSelection& other)
{
RegionSelection::operator=(other);
return *this;
}