PITimeMeasurer remove some API, add elapsedAndReset()

got rid off some warnings
This commit is contained in:
2025-01-17 11:49:24 +03:00
parent 82cda42e75
commit d01baffb0b
9 changed files with 57 additions and 58 deletions

View File

@@ -129,7 +129,8 @@ void PIWaitEvent::interrupt() {
#ifdef WINDOWS
SetEvent(event);
#else
::write(pipe_fd[WriteEnd], "", 1);
auto _r = ::write(pipe_fd[WriteEnd], "", 1);
NO_UNUSED(_r);
#endif
}