Fix call to compact and missing utility include

This commit is contained in:
aristocratos 2023-12-25 02:37:32 +01:00
parent ced47a960f
commit 3a8ceacaf8
2 changed files with 2 additions and 2 deletions

View file

@ -58,6 +58,7 @@ tab-size = 4
#include <regex>
#include <string>
#include <memory>
#include <utility>
#include "../btop_config.hpp"
#include "../btop_shared.hpp"
@ -966,7 +967,6 @@ namespace Net {
else
it++;
}
net.compact();
}
timestamp = new_timestamp;

View file

@ -45,6 +45,7 @@ tab-size = 4
#include <netinet/in.h> // for inet_ntop
#include <unistd.h>
#include <stdexcept>
#include <utility>
#include <cmath>
#include <fstream>
@ -986,7 +987,6 @@ namespace Net {
else
it++;
}
net.compact();
}
timestamp = new_timestamp;