From 4e80c04d230d082500f29dc2bbac5b27a1f736e0 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 1 Nov 2020 18:48:13 -0500 Subject: [PATCH] fix lack of const to match def --- src/zm_event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_event.cpp b/src/zm_event.cpp index 730d23b98..f5d93f151 100644 --- a/src/zm_event.cpp +++ b/src/zm_event.cpp @@ -336,7 +336,7 @@ bool Event::WriteFrameImage( Image *image, struct timeval timestamp, const char *event_file, - bool alarm_frame) { + bool alarm_frame) const { int thisquality = (alarm_frame && (config.jpeg_alarm_file_quality > config.jpeg_file_quality)) ?