mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-11 07:53:30 +12:00
Fix call to compact and missing utility include
This commit is contained in:
parent
ced47a960f
commit
3a8ceacaf8
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue