summaryrefslogtreecommitdiff
path: root/libs/ardour/audioregion.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-10 15:30:41 +0200
committerRobin Gareus <robin@gareus.org>2016-07-10 15:30:41 +0200
commit140258d8abc366ddd600a7b3079b55a730b10225 (patch)
tree1940e8eb0e410dff8e658f279fe1d8f970ee50ba /libs/ardour/audioregion.cc
parentcb2c459302a58114223e4bb548feece6d68556ef (diff)
remove reference "const int32_t&" -> const int32_t"
this simplifies lua-bindings and also let's the compiler worry about constant primitive types.
Diffstat (limited to 'libs/ardour/audioregion.cc')
-rw-r--r--libs/ardour/audioregion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc
index dff261a9df..2917f155d3 100644
--- a/libs/ardour/audioregion.cc
+++ b/libs/ardour/audioregion.cc
@@ -279,7 +279,7 @@ AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other)
assert (_sources.size() == _master_sources.size());
}
-AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other, framecnt_t offset, const int32_t& sub_num)
+AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other, framecnt_t offset, const int32_t sub_num)
: Region (other, offset, sub_num)
, AUDIOREGION_COPY_STATE (other)
/* As far as I can see, the _envelope's times are relative to region position, and have nothing