mirror of https://github.com/tstack/lnav.git
[build] missing include
This commit is contained in:
parent
8e629b166a
commit
fa9a66152f
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
|
||||
struct tm *secs2tm(time_t *tim_p, struct tm *res);
|
||||
|
|
|
@ -117,8 +117,7 @@ void unique_path_generator::generate()
|
|||
if (parent.empty() || parent == prefix) {
|
||||
src->set_unique_path("[" + src->get_unique_path());
|
||||
} else {
|
||||
this->upg_unique_paths[src->get_unique_path()].push_back(
|
||||
src);
|
||||
this->upg_unique_paths[src->get_unique_path()].push_back(src);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue