From abb12979f8e1754708afc68c23fbcebf25860160 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 23 Jan 2024 20:07:42 +0800 Subject: [PATCH] raft: do not include unused headers these unused includes were identified by clangd. see https://clangd.llvm.org/guides/include-cleaner#unused-include-warning for more details on the "Unused include" warning. Signed-off-by: Kefu Chai Closes scylladb/scylladb#17011 --- raft/internal.hh | 2 -- raft/raft.hh | 2 -- 2 files changed, 4 deletions(-) diff --git a/raft/internal.hh b/raft/internal.hh index 20f0958034..e086e81912 100644 --- a/raft/internal.hh +++ b/raft/internal.hh @@ -7,8 +7,6 @@ */ #pragma once -#include -#include #include "utils/UUID.hh" #include "utils/tagged_integer.hh" diff --git a/raft/raft.hh b/raft/raft.hh index 8f31911327..452f0142d0 100644 --- a/raft/raft.hh +++ b/raft/raft.hh @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -18,7 +17,6 @@ #include #include #include "bytes_ostream.hh" -#include "utils/UUID.hh" #include "internal.hh" #include "logical_clock.hh"