Skip to content

Commit

Permalink
iwyu
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed May 23, 2024
1 parent 34efb46 commit 52908b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/runtime/service_api_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#endif

#include "fmt/core.h"
#include "fmt/format.h"
#include "perf_counter/perf_counters.h"
#include "runtime/api_layer1.h"
#include "runtime/api_task.h"
Expand Down
12 changes: 2 additions & 10 deletions src/utils/simple_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,25 @@

#include "utils/simple_logger.h"

#include <errno.h>
// IWYU pragma: no_include <ext/alloc_traits.h>
#include <fmt/core.h>
#include <fmt/printf.h>
#include <sys/stat.h>
#include <unistd.h>
#include <algorithm>
#include <ctime>
#include <cstdint>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
#include <ostream>
#include <vector>

#include "absl/strings/string_view.h"
#include "runtime/api_layer1.h"
#include "utils/command_manager.h"
#include "utils/errors.h"
#include "utils/fail_point.h"
#include "utils/filesystem.h"
#include "utils/flags.h"
#include "utils/fmt_logging.h"
#include "utils/ports.h"
#include "utils/process_utils.h"
#include "utils/safe_strerror_posix.h"
#include "utils/string_conv.h"
#include "utils/strings.h"
#include "utils/time_utils.h"

DSN_DEFINE_bool(tools.simple_logger, fast_flush, false, "Whether to flush logs immediately");
Expand Down

0 comments on commit 52908b4

Please sign in to comment.