diff options
author | tobo <tobo@yandex-team.com> | 2024-10-17 07:21:27 +0300 |
---|---|---|
committer | tobo <tobo@yandex-team.com> | 2024-10-17 07:38:47 +0300 |
commit | fe7dabb9c4f211cb4ba4884d0c323e77873800c3 (patch) | |
tree | 217c20e62596ac89bd5933494e0834e4e3c101e3 | |
parent | e32c333ec89518990261e57edeeacae47c954a93 (diff) | |
download | ydb-fe7dabb9c4f211cb4ba4884d0c323e77873800c3.tar.gz |
remove unused includes in util/generic/string.h
commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
-rw-r--r-- | library/cpp/cache/thread_safe_cache.h | 1 | ||||
-rw-r--r-- | library/cpp/linear_regression/linear_regression.h | 1 | ||||
-rw-r--r-- | util/folder/iterator.h | 1 | ||||
-rw-r--r-- | util/generic/string.h | 3 |
4 files changed, 4 insertions, 2 deletions
diff --git a/library/cpp/cache/thread_safe_cache.h b/library/cpp/cache/thread_safe_cache.h index e77d1a45fd..b4bd4deedf 100644 --- a/library/cpp/cache/thread_safe_cache.h +++ b/library/cpp/cache/thread_safe_cache.h @@ -3,6 +3,7 @@ #include "cache.h" #include <util/generic/singleton.h> +#include <util/generic/ylimits.h> #include <util/system/rwlock.h> namespace NPrivate { diff --git a/library/cpp/linear_regression/linear_regression.h b/library/cpp/linear_regression/linear_regression.h index e57de5ff6c..5f2a2a1ca9 100644 --- a/library/cpp/linear_regression/linear_regression.h +++ b/library/cpp/linear_regression/linear_regression.h @@ -7,6 +7,7 @@ #include <util/generic/vector.h> #include <util/generic/hash.h> +#include <util/generic/ylimits.h> #include <util/generic/ymath.h> class TFastLinearRegressionSolver { diff --git a/util/folder/iterator.h b/util/folder/iterator.h index c79d56c654..932d0fc844 100644 --- a/util/folder/iterator.h +++ b/util/folder/iterator.h @@ -6,6 +6,7 @@ #include <util/generic/ptr.h> #include <util/generic/iterator.h> #include <util/generic/yexception.h> +#include <util/generic/ylimits.h> /// Note this magic API traverses directory hierarchy diff --git a/util/generic/string.h b/util/generic/string.h index bfaec2d140..46b994bb97 100644 --- a/util/generic/string.h +++ b/util/generic/string.h @@ -4,7 +4,6 @@ #include <cstddef> #include <cstring> #include <stlfwd> -#include <stdexcept> #include <string> #include <string_view> #include <type_traits> @@ -14,7 +13,6 @@ #include "ptr.h" #include "utility.h" -#include "bitops.h" #include "explicit_type.h" #include "reserve.h" #ifndef _LIBCPP_VERSION @@ -23,6 +21,7 @@ #include "strbase.h" #include "strbuf.h" #include "string_hash.h" +#include "ylimits.h" #if defined(address_sanitizer_enabled) || defined(thread_sanitizer_enabled) #include "hide_ptr.h" |