cross-tree: fix header file self-sufficiency
Scylla's coding standard requires that each header is self-sufficient, i.e., it includes whatever other headers it needs - so it can be included without having to include any other header before it. We have a test for this, "ninja dev-headers", but it isn't run very frequently, and it turns out our code deviated from this requirement in a few places. This patch fixes those places, and after it "ninja dev-headers" succeeds again. Fixes #10995 Signed-off-by: Nadav Har'El <nyh@scylladb.com> Closes #10997
This commit is contained in:
committed by
Pavel Emelyanov
parent
3b20407f25
commit
a7fa29bceb
@@ -9,6 +9,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "db/per_partition_rate_limit_options.hh"
|
||||
#include "schema.hh"
|
||||
|
||||
namespace db {
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#include "operation_type.hh"
|
||||
#include "serializer.hh"
|
||||
#include "schema.hh"
|
||||
#include "log.hh"
|
||||
|
||||
namespace db {
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <cassert>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <unordered_set>
|
||||
#include <cstddef>
|
||||
|
||||
namespace utils {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user