summaryrefslogtreecommitdiff
path: root/absl/container/internal
diff options
context:
space:
mode:
authorGravatar Evan Brown <ezb@google.com>2024-03-25 09:47:22 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-03-25 09:48:26 -0700
commit06e119066162d7dfa21c4481446e580772ff51f1 (patch)
tree054b9d6853dc49a7c4de9c813b41a65253ceea8e /absl/container/internal
parentc2cf2d38d2ec11eb68b4e89a1c9051b055e91689 (diff)
Fix ClangTidy warnings in btree.h.
PiperOrigin-RevId: 618872032 Change-Id: I9fdfadff906494eb64cee976c02a1fff57923c79
Diffstat (limited to 'absl/container/internal')
-rw-r--r--absl/container/internal/btree.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/absl/container/internal/btree.h b/absl/container/internal/btree.h
index 00a9cb13..4ffc44e7 100644
--- a/absl/container/internal/btree.h
+++ b/absl/container/internal/btree.h
@@ -53,11 +53,11 @@
#include <functional>
#include <iterator>
#include <limits>
-#include <new>
#include <string>
#include <type_traits>
#include <utility>
+#include "absl/base/config.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/macros.h"
#include "absl/container/internal/common.h"
@@ -70,7 +70,6 @@
#include "absl/strings/cord.h"
#include "absl/strings/string_view.h"
#include "absl/types/compare.h"
-#include "absl/utility/utility.h"
namespace absl {
ABSL_NAMESPACE_BEGIN
@@ -475,7 +474,7 @@ struct SearchResult {
// useful information.
template <typename V>
struct SearchResult<V, false> {
- SearchResult() {}
+ SearchResult() = default;
explicit SearchResult(V v) : value(v) {}
SearchResult(V v, MatchKind /*match*/) : value(v) {}