mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
Reduce redundant includes.
This commit is contained in:
parent
f20b0f41a8
commit
f6199d5d12
7 changed files with 6 additions and 19 deletions
|
@ -1,7 +1,3 @@
|
|||
#include <map>
|
||||
#include <vector>
|
||||
#include "ircd/util.h"
|
||||
|
||||
#pragma once
|
||||
#define HAVE_IRCD_CACHE_H
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
#ifndef __CAPABILITY_H__
|
||||
#define __CAPABILITY_H__
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/util.h>
|
||||
#include "stdinc.h"
|
||||
|
||||
struct CapabilityEntry {
|
||||
std::string cap;
|
||||
|
|
|
@ -24,10 +24,7 @@
|
|||
|
||||
#ifndef INCLUDED_parse_h_h
|
||||
#define INCLUDED_parse_h_h
|
||||
|
||||
#include <rb/dictionary.h>
|
||||
#include <ircd/util.h>
|
||||
#include <map>
|
||||
|
||||
struct Message;
|
||||
struct Client;
|
||||
|
|
|
@ -22,5 +22,6 @@
|
|||
*/
|
||||
|
||||
#include <rb/rb.h>
|
||||
#include "util.h"
|
||||
#include "defaults.h"
|
||||
#include "fs.h"
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
||||
inline namespace ircd {
|
||||
inline namespace util {
|
||||
|
||||
|
|
|
@ -68,13 +68,13 @@ extern "C" {
|
|||
#include <RB_INC_ARRAY
|
||||
#include <RB_INC_VECTOR
|
||||
#include <RB_INC_STRING
|
||||
//#include <RB_INC_MAP
|
||||
//#include <RB_INC_SET
|
||||
//#include <RB_INC_LIST
|
||||
#include <RB_INC_MAP
|
||||
#include <RB_INC_SET
|
||||
#include <RB_INC_LIST
|
||||
//#include <RB_INC_FORWARD_LIST
|
||||
//#include <RB_INC_UNORDERED_MAP
|
||||
//#include <RB_INC_DEQUE
|
||||
//#include <RB_INC_SSTREAM
|
||||
#include <RB_INC_SSTREAM
|
||||
//#include <RB_INC_FSTREAM
|
||||
#include <RB_INC_IOSTREAM
|
||||
#include <RB_INC_CSTDIO
|
||||
|
|
|
@ -21,9 +21,7 @@
|
|||
#include <ircd/stdinc.h>
|
||||
#include <ircd/capability.h>
|
||||
#include <ircd/s_assert.h>
|
||||
|
||||
#include <rb/format.h>
|
||||
#include <list>
|
||||
|
||||
static std::list<CapabilityIndex *> capability_indexes;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue