Skip to content

Commit 9766408

Browse files
committed
added [[maybe_unused]]
1 parent 78aa4a1 commit 9766408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_cpp/ThreadManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void SL::Screen_Capture::ThreadManager::Init(const std::shared_ptr<Thread_Data>&
2222
if (data->ScreenCaptureData.getThingsToWatch) {
2323
auto monitors = data->ScreenCaptureData.getThingsToWatch();
2424
auto mons = GetMonitors();
25-
for (auto &m : monitors) {
25+
for ([[maybe_unused]] auto &m : monitors) {
2626
assert(isMonitorInsideBounds(mons, m));
2727
}
2828

0 commit comments

Comments
 (0)