Skip to content

Commit 779ec4b

Browse files
committed
acap/aes67: Mark method as const
1 parent e37e969 commit 779ec4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/audio/capture/aes67.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct Allocated_audio_frame{
104104
frame.data = data.data();
105105
}
106106

107-
bool is_desc_same(const audio_desc& desc){
107+
[[nodiscard]] bool is_desc_same(const audio_desc& desc) const{
108108
return frame.ch_count == desc.ch_count
109109
&& frame.bps == desc.bps
110110
&& frame.sample_rate == desc.sample_rate;

0 commit comments

Comments
 (0)