summaryrefslogtreecommitdiff
path: root/absl/container/internal
diff options
context:
space:
mode:
authorGravatar Evan Brown <ezb@google.com>2022-09-01 14:54:00 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-09-01 14:54:43 -0700
commit4a1ccf16ed98c876bf1e1985afb080baeff5101f (patch)
tree47ce3a0514b3872e07a606ccbde3cf6674aab811 /absl/container/internal
parent4b9df7eade4f0ce9ef3ab726e97d909a9e2e7ed9 (diff)
Fix ClangTidy warnings in btree.h and btree_test.cc.
PiperOrigin-RevId: 471639724 Change-Id: Ie609f4d5b15c06fc286fae2944b550937da266d3
Diffstat (limited to 'absl/container/internal')
-rw-r--r--absl/container/internal/btree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/internal/btree.h b/absl/container/internal/btree.h
index 01f4e749..64a610a0 100644
--- a/absl/container/internal/btree.h
+++ b/absl/container/internal/btree.h
@@ -1242,7 +1242,7 @@ class btree {
// MSVC has constexpr code generations bugs here.
EmptyNodeType() : parent(this) {}
#else
- constexpr EmptyNodeType(node_type *p) : parent(p) {}
+ explicit constexpr EmptyNodeType(node_type *p) : parent(p) {}
#endif
};