From fa9a66152fee290c7ec3ba3f87844fd2f26bdc91 Mon Sep 17 00:00:00 2001 From: Timothy Stack Date: Thu, 19 Nov 2020 21:43:58 -0800 Subject: [PATCH] [build] missing include --- src/base/time_util.hh | 1 + src/unique_path.cc | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/time_util.hh b/src/base/time_util.hh index e1e9e8fd..7575008d 100644 --- a/src/base/time_util.hh +++ b/src/base/time_util.hh @@ -32,6 +32,7 @@ #include #include +#include #include struct tm *secs2tm(time_t *tim_p, struct tm *res); diff --git a/src/unique_path.cc b/src/unique_path.cc index a4b40e6f..edbf967e 100644 --- a/src/unique_path.cc +++ b/src/unique_path.cc @@ -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); } }