1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Allowing for the constexpr, this is maybe_unused.

This commit is contained in:
Thomas Harte 2020-06-19 23:47:43 -04:00
parent 945a9da94f
commit 7af8646470

View File

@ -1112,7 +1112,7 @@ template <bool has_fdc> class ConcreteMachine:
}
// MARK: - Activity Source
void set_activity_observer(Activity::Observer *observer) final {
void set_activity_observer([[maybe_unused]] Activity::Observer *observer) final {
if constexpr (has_fdc) fdc_.set_activity_observer(observer);
}