From 3fbc89e4eefaf9b2a7db7a54fcb7bb25ae536d28 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 10 Jun 2023 01:37:32 +0200 Subject: [PATCH] Remove unused overloaded method --- libs/ardour/ardour/file_source.h | 3 +-- libs/ardour/file_source.cc | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/libs/ardour/ardour/file_source.h b/libs/ardour/ardour/file_source.h index 652c9f59ee..84ef31f494 100644 --- a/libs/ardour/ardour/file_source.h +++ b/libs/ardour/ardour/file_source.h @@ -77,9 +77,8 @@ public: bool must_exist, bool& is_new, uint16_t& chan, std::string& found_path); - void inc_use_count (); bool removable () const; - bool is_stub () const; + bool is_stub () const; const std::string& origin() const { return _origin; } void set_origin (std::string const& o) { _origin = o; } diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc index ef1019efba..b14e84b0cb 100644 --- a/libs/ardour/file_source.cc +++ b/libs/ardour/file_source.cc @@ -557,12 +557,6 @@ FileSource::replace_file (const std::string& newpath) _name = Glib::path_get_basename (newpath); } -void -FileSource::inc_use_count () -{ - Source::inc_use_count (); -} - bool FileSource::is_stub () const {