From e81384bba4c49ec55e67842ec64e573c0bb9cd7b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 28 Dec 2021 12:45:02 -0500 Subject: [PATCH] Fix fail to build --- src/zm_monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index c4e82a69a..ac2703b71 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -1901,7 +1901,7 @@ bool Monitor::Analyse() { if (motion_score) { if (cause.length()) cause += ", "; - cause += MOTION_CAUSE+":"+alarm_cause; + cause += MOTION_CAUSE+std::string(":")+alarm_cause; noteSetMap[MOTION_CAUSE] = zoneSet; } // end if motion_score }