From 4f8bc94cc7ee857918690a9c28f52a08da676e48 Mon Sep 17 00:00:00 2001 From: ColumbusTech Date: Mon, 27 Nov 2017 22:23:44 +0300 Subject: [PATCH] Syntax correction --- Info.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Info.hpp b/Info.hpp index ec132a0..a6da8c8 100644 --- a/Info.hpp +++ b/Info.hpp @@ -182,14 +182,14 @@ namespace Columbus while (fgets(line, 512, fp) != NULL) { - if (strncmp(line, "VmRSS:", 6) == 0) - { - fclose(fp); - std::string l = line; - l = l.substr(6, l.size() - 4); - return atoi(l.c_str()) / 1024; - } - } + if (strncmp(line, "VmRSS:", 6) == 0) + { + fclose(fp); + std::string l = line; + l = l.substr(6, l.size() - 4); + return atoi(l.c_str()) / 1024; + } + } fclose(fp);