From 140258d8abc366ddd600a7b3079b55a730b10225 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 10 Jul 2016 15:30:41 +0200 Subject: remove reference "const int32_t&" -> const int32_t" this simplifies lua-bindings and also let's the compiler worry about constant primitive types. --- gtk2_ardour/editor_drag.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/editor_drag.cc') diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index c8afd81476..4516eefb62 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -510,7 +510,7 @@ Drag::show_verbose_cursor_text (string const & text) } boost::shared_ptr -Drag::add_midi_region (MidiTimeAxisView* view, bool commit, const int32_t& sub_num) +Drag::add_midi_region (MidiTimeAxisView* view, bool commit, const int32_t sub_num) { if (_editor->session()) { const TempoMap& map (_editor->session()->tempo_map()); @@ -1741,7 +1741,7 @@ RegionMoveDrag::insert_region_into_playlist ( layer_t dest_layer, framecnt_t where, PlaylistSet& modified_playlists, - const int32_t& sub_num + const int32_t sub_num ) { boost::shared_ptr dest_playlist = dest_rtv->playlist (); -- cgit v1.2.3