From 5db3c5e0235e381f506b671937e101dc7ff76427 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Tue, 8 Apr 2025 19:19:48 -0400 Subject: [PATCH] Fix a few build errors --- src/test/app/LoanBroker_test.cpp | 4 ++-- src/test/ledger/Invariants_test.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/app/LoanBroker_test.cpp b/src/test/app/LoanBroker_test.cpp index 0fc65708d0..be6312c705 100644 --- a/src/test/app/LoanBroker_test.cpp +++ b/src/test/app/LoanBroker_test.cpp @@ -121,12 +121,12 @@ class LoanBroker_test : public beast::unit_test::suite std::array const assets{xrpAsset, iouAsset, mptAsset}; // Create vaults - struct Vault + struct VaultInfo { PrettyAsset const& asset; uint256 vaultID; }; - std::vector vaults; + std::vector vaults; for (auto const& asset : assets) { auto [tx, keylet] = vault.create({.owner = alice, .asset = asset}); diff --git a/src/test/ledger/Invariants_test.cpp b/src/test/ledger/Invariants_test.cpp index 1b28151868..d3950cdfa2 100644 --- a/src/test/ledger/Invariants_test.cpp +++ b/src/test/ledger/Invariants_test.cpp @@ -1423,7 +1423,6 @@ class Invariants_test : public beast::unit_test::suite PrettyAsset const xrpAsset{xrpIssue(), 1'000'000}; // Create vault - uint256 vaultID; Vault vault{env}; auto [tx, vKeylet] = vault.create({.owner = a, .asset = xrpAsset});