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. --- libs/ardour/region_factory.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/region_factory.cc') diff --git a/libs/ardour/region_factory.cc b/libs/ardour/region_factory.cc index e724683eda..6578e89837 100644 --- a/libs/ardour/region_factory.cc +++ b/libs/ardour/region_factory.cc @@ -46,7 +46,7 @@ std::map RegionFactory::region_name_map; RegionFactory::CompoundAssociations RegionFactory::_compound_associations; boost::shared_ptr -RegionFactory::create (boost::shared_ptr region, bool announce, const int32_t& sub_num) +RegionFactory::create (boost::shared_ptr region, bool announce, const int32_t sub_num) { boost::shared_ptr ret; boost::shared_ptr ar; @@ -144,7 +144,7 @@ RegionFactory::create (boost::shared_ptr region, const PropertyList& pli } boost::shared_ptr -RegionFactory::create (boost::shared_ptr region, frameoffset_t offset, const PropertyList& plist, bool announce, const int32_t& sub_num) +RegionFactory::create (boost::shared_ptr region, frameoffset_t offset, const PropertyList& plist, bool announce, const int32_t sub_num) { boost::shared_ptr ret; boost::shared_ptr other_a; -- cgit v1.2.3