Skip to content

Commit

Permalink
iwyu
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Aug 2, 2024
1 parent 25ef5db commit 37b55eb
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/meta/meta_state_service_simple.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* THE SOFTWARE.
*/

#include <fmt/core.h>
#include <stddef.h>
#include <stdint.h>
#include <functional>
Expand Down
1 change: 0 additions & 1 deletion src/meta/test/backup_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <set>
#include <string>
#include <thread>
#include <type_traits>
#include <utility>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions src/meta/test/dump_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* THE SOFTWARE.
*/

#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
Expand Down
1 change: 0 additions & 1 deletion src/nfs/nfs_server_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <utility>

#include "aio/file_io.h"
#include "fmt/core.h"
#include "nfs_code_definition.h"
#include "nfs_types.h"
#include "runtime/serverlet.h"
Expand Down
1 change: 1 addition & 0 deletions src/server/result_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include <pegasus/error.h>
#include <chrono>
#include <type_traits>
#include <utility>

#include "pegasus/client.h"
Expand Down
2 changes: 0 additions & 2 deletions src/utils/alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#pragma once

#include <fmt/format.h>
#include <stdint.h>
#include <algorithm> // IWYU pragma: keep
#include <cstddef>
#include <functional>
Expand Down
1 change: 1 addition & 0 deletions src/utils/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ static void log_on_sys_exit(::dsn::sys_exit_type)
{
g_stderr_logger->flush();
g_file_logger->flush();
log_cmds.clear();
}

void dsn_log_init(const std::string &log_dir, const std::string &role_name)
Expand Down
4 changes: 0 additions & 4 deletions src/utils/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@

#pragma once

#include <fmt/format.h>
#include <spdlog/common.h>
#include <spdlog/pattern_formatter.h>
#include <ctime>
#include <memory>
#include <string>

#include "utils/enum_helper.h"
#include "utils/fmt_utils.h"

namespace spdlog {
namespace details {
struct log_msg;
Expand Down

0 comments on commit 37b55eb

Please sign in to comment.