0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 15:30:52 +01:00

Reduce redundant includes.

This commit is contained in:
Jason Volk 2016-08-12 15:21:10 -07:00
parent f20b0f41a8
commit f6199d5d12
7 changed files with 6 additions and 19 deletions

View file

@ -1,7 +1,3 @@
#include <map>
#include <vector>
#include "ircd/util.h"
#pragma once #pragma once
#define HAVE_IRCD_CACHE_H #define HAVE_IRCD_CACHE_H

View file

@ -21,8 +21,7 @@
#ifndef __CAPABILITY_H__ #ifndef __CAPABILITY_H__
#define __CAPABILITY_H__ #define __CAPABILITY_H__
#include <ircd/stdinc.h> #include "stdinc.h"
#include <ircd/util.h>
struct CapabilityEntry { struct CapabilityEntry {
std::string cap; std::string cap;

View file

@ -24,10 +24,7 @@
#ifndef INCLUDED_parse_h_h #ifndef INCLUDED_parse_h_h
#define INCLUDED_parse_h_h #define INCLUDED_parse_h_h
#include <rb/dictionary.h> #include <rb/dictionary.h>
#include <ircd/util.h>
#include <map>
struct Message; struct Message;
struct Client; struct Client;

View file

@ -22,5 +22,6 @@
*/ */
#include <rb/rb.h> #include <rb/rb.h>
#include "util.h"
#include "defaults.h" #include "defaults.h"
#include "fs.h" #include "fs.h"

View file

@ -28,10 +28,6 @@
#ifdef __cplusplus #ifdef __cplusplus
#include <memory>
#include <functional>
#include <map>
inline namespace ircd { inline namespace ircd {
inline namespace util { inline namespace util {

View file

@ -68,13 +68,13 @@ extern "C" {
#include <RB_INC_ARRAY #include <RB_INC_ARRAY
#include <RB_INC_VECTOR #include <RB_INC_VECTOR
#include <RB_INC_STRING #include <RB_INC_STRING
//#include <RB_INC_MAP #include <RB_INC_MAP
//#include <RB_INC_SET #include <RB_INC_SET
//#include <RB_INC_LIST #include <RB_INC_LIST
//#include <RB_INC_FORWARD_LIST //#include <RB_INC_FORWARD_LIST
//#include <RB_INC_UNORDERED_MAP //#include <RB_INC_UNORDERED_MAP
//#include <RB_INC_DEQUE //#include <RB_INC_DEQUE
//#include <RB_INC_SSTREAM #include <RB_INC_SSTREAM
//#include <RB_INC_FSTREAM //#include <RB_INC_FSTREAM
#include <RB_INC_IOSTREAM #include <RB_INC_IOSTREAM
#include <RB_INC_CSTDIO #include <RB_INC_CSTDIO

View file

@ -21,9 +21,7 @@
#include <ircd/stdinc.h> #include <ircd/stdinc.h>
#include <ircd/capability.h> #include <ircd/capability.h>
#include <ircd/s_assert.h> #include <ircd/s_assert.h>
#include <rb/format.h> #include <rb/format.h>
#include <list>
static std::list<CapabilityIndex *> capability_indexes; static std::list<CapabilityIndex *> capability_indexes;