Fix tautological assertion (#6393)

This commit is contained in:
Ed Hennis
2026-02-19 21:58:47 -04:00
parent c6989da973
commit dec12299f8
5 changed files with 1 additions and 5 deletions

View File

@@ -35,7 +35,6 @@ template <
class Allocator = std::allocator<Key>>
using aged_multiset = detail::
aged_ordered_container<true, false, Key, void, Clock, Compare, Allocator>;
}
#endif

View File

@@ -44,7 +44,6 @@ using aged_unordered_map = detail::aged_unordered_container<
Hash,
KeyEqual,
Allocator>;
}
#endif

View File

@@ -44,7 +44,6 @@ using aged_unordered_multimap = detail::aged_unordered_container<
Hash,
KeyEqual,
Allocator>;
}
#endif

View File

@@ -43,7 +43,6 @@ using aged_unordered_set = detail::aged_unordered_container<
Hash,
KeyEqual,
Allocator>;
}
#endif

View File

@@ -28,7 +28,7 @@ bool
Keylet::check(STLedgerEntry const& sle) const
{
XRPL_ASSERT(
sle.getType() != ltANY || sle.getType() != ltCHILD,
sle.getType() != ltANY && sle.getType() != ltCHILD,
"ripple::Keylet::check : valid input type");
if (type == ltANY)