mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-12 23:12:23 +00:00
Fix tautological assertion (#6393)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -44,7 +44,6 @@ using aged_unordered_map = detail::aged_unordered_container<
|
||||
Hash,
|
||||
KeyEqual,
|
||||
Allocator>;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,6 @@ using aged_unordered_multimap = detail::aged_unordered_container<
|
||||
Hash,
|
||||
KeyEqual,
|
||||
Allocator>;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -43,7 +43,6 @@ using aged_unordered_set = detail::aged_unordered_container<
|
||||
Hash,
|
||||
KeyEqual,
|
||||
Allocator>;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user