1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Apply maybe_unused judiciously.

This commit is contained in:
Thomas Harte
2023-05-15 10:17:04 -04:00
parent 9342c6005f
commit a1a7c0e253
6 changed files with 18 additions and 20 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ bool Line<include_clock>::read() const {
}
template <bool include_clock>
void Line<include_clock>::set_read_delegate(ReadDelegate *delegate, Storage::Time bit_length) {
void Line<include_clock>::set_read_delegate(ReadDelegate *delegate, [[maybe_unused]] Storage::Time bit_length) {
read_delegate_ = delegate;
if constexpr (!include_clock) {
assert(bit_length > Storage::Time(0));