Skip to content

Commit 6802674

Browse files
author
tobo
committed
remove unused includes
commit_hash:1853234e3cc2386843bcb3c973f43778e813efeb
1 parent 9992ff9 commit 6802674

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

util/generic/hash.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "fwd.h"
44

55
#include "hash_table.h"
6+
#include "mapfindptr.h"
67

78
template <class Key, class T, class HashFcn, class EqualKey, class Alloc>
89
class THashMap: public TMapOps<THashMap<Key, T, HashFcn, EqualKey, Alloc>> {

util/generic/hash_table.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
#pragma once
22

33
#include "fwd.h"
4-
#include "mapfindptr.h"
54

65
#include <util/memory/alloc.h>
76
#include <util/system/compiler.h>
87
#include <util/system/type_name.h>
98
#include <util/system/yassert.h>
109
#include <util/str_stl.h>
1110
#include "yexception.h"
12-
#include "typetraits.h"
1311
#include "utility.h"
1412

1513
#include <algorithm>
16-
#include <initializer_list>
1714
#include <memory>
1815
#include <tuple>
19-
#include <utility>
20-
21-
#include <cstdlib>
2216

2317
#include "hash_primes.h"
2418

@@ -32,7 +26,7 @@ struct TSelect1st {
3226
template <class Value>
3327
struct __yhashtable_node {
3428
/** If the first bit is not set, then this is a pointer to the next node in
35-
* the list of nodes for the current bucket. Otherwise this is a pointer of
29+
* the list of nodes for the current bucket. Otherwise, this is a pointer of
3630
* type __yhashtable_node**, pointing back into the buckets array.
3731
*
3832
* This trick makes it possible to use only one node pointer in a hash table

0 commit comments

Comments
 (0)