Skip to content

Commit

Permalink
remove unused includes in util/generic/string.h
Browse files Browse the repository at this point in the history
commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
  • Loading branch information
tobo committed Oct 17, 2024
1 parent 059f9cc commit d2006b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions library/cpp/linear_regression/linear_regression.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions util/folder/iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions util/generic/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <cstddef>
#include <cstring>
#include <stlfwd>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
Expand All @@ -14,7 +13,6 @@

#include "ptr.h"
#include "utility.h"
#include "bitops.h"
#include "explicit_type.h"
#include "reserve.h"
#ifndef _LIBCPP_VERSION
Expand All @@ -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"
Expand Down

0 comments on commit d2006b3

Please sign in to comment.