diff --git a/libs/ardour/ardour/source.h b/libs/ardour/ardour/source.h index 6dc73cca5b..b4a430cced 100644 --- a/libs/ardour/ardour/source.h +++ b/libs/ardour/ardour/source.h @@ -162,7 +162,7 @@ public: timepos_t _natural_position; bool _have_natural_position; bool _analysed; - std::atomic _use_count; /* atomic */ + std::atomic _use_count; uint32_t _level; /* how deeply nested is this source w.r.t a disk file */ std::string _ancestor_name; std::string _captured_for; diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc index b4b787eef7..39d4e4acd9 100644 --- a/libs/ardour/source.cc +++ b/libs/ardour/source.cc @@ -441,7 +441,7 @@ Source::set_allow_remove_if_empty (bool yn) void Source::inc_use_count () { - _use_count.fetch_add (1); + _use_count.fetch_add (1); } void