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);