From 804983c08e920e859e2aa9343dd7f83b72b7d9c7 Mon Sep 17 00:00:00 2001 From: Shaun Roe <shaun.roe@cern.ch> Date: Mon, 4 Nov 2024 09:40:54 +0100 Subject: [PATCH] add forgotten break --- Control/AthenaMonitoring/src/AthMonBench.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Control/AthenaMonitoring/src/AthMonBench.cxx b/Control/AthenaMonitoring/src/AthMonBench.cxx index c338867923f5..893bce15653c 100644 --- a/Control/AthenaMonitoring/src/AthMonBench.cxx +++ b/Control/AthenaMonitoring/src/AthMonBench.cxx @@ -5,6 +5,7 @@ #include "AthMonBench.h" #include <iostream> #include <limits> +#include <string> #include <fstream> namespace{ @@ -27,6 +28,7 @@ AthMonBench::currentVMem(){ if (line.starts_with(search)) { result = std::stol(line.substr(search.size())); result = multiply<1024L>(result); + break; } } return result; -- GitLab