Skip to content

Commit fe7dabb

Browse files
author
tobo
committed
remove unused includes in util/generic/string.h
commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
1 parent e32c333 commit fe7dabb

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

library/cpp/cache/thread_safe_cache.h

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

55
#include <util/generic/singleton.h>
6+
#include <util/generic/ylimits.h>
67
#include <util/system/rwlock.h>
78

89
namespace NPrivate {

library/cpp/linear_regression/linear_regression.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <util/generic/vector.h>
99
#include <util/generic/hash.h>
10+
#include <util/generic/ylimits.h>
1011
#include <util/generic/ymath.h>
1112

1213
class TFastLinearRegressionSolver {

util/folder/iterator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <util/generic/ptr.h>
77
#include <util/generic/iterator.h>
88
#include <util/generic/yexception.h>
9+
#include <util/generic/ylimits.h>
910

1011
/// Note this magic API traverses directory hierarchy
1112

util/generic/string.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <cstddef>
55
#include <cstring>
66
#include <stlfwd>
7-
#include <stdexcept>
87
#include <string>
98
#include <string_view>
109
#include <type_traits>
@@ -14,7 +13,6 @@
1413

1514
#include "ptr.h"
1615
#include "utility.h"
17-
#include "bitops.h"
1816
#include "explicit_type.h"
1917
#include "reserve.h"
2018
#ifndef _LIBCPP_VERSION
@@ -23,6 +21,7 @@
2321
#include "strbase.h"
2422
#include "strbuf.h"
2523
#include "string_hash.h"
24+
#include "ylimits.h"
2625

2726
#if defined(address_sanitizer_enabled) || defined(thread_sanitizer_enabled)
2827
#include "hide_ptr.h"

0 commit comments

Comments
 (0)