mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-05 01:36:51 +00:00
fix: Use .contains() method where available (#2277)
This commit is contained in:
@@ -280,7 +280,7 @@ TransactionFeed::pub(
|
||||
data->getFieldAmount(ripple::sfTakerPays).issue(),
|
||||
(*data)[~ripple::sfDomainID]
|
||||
};
|
||||
if (affectedBooks.find(book) == affectedBooks.end()) {
|
||||
if (!affectedBooks.contains(book)) {
|
||||
affectedBooks.insert(book);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user