From 9485c3c4b609810e36c855a307e8da5824d889f2 Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Mon, 29 Jun 2026 14:20:04 -0400 Subject: [PATCH] disable copy constructors --- include/xrpl/ledger/ApplyView.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/xrpl/ledger/ApplyView.h b/include/xrpl/ledger/ApplyView.h index 74543a0dc0..d1e3fa8c6e 100644 --- a/include/xrpl/ledger/ApplyView.h +++ b/include/xrpl/ledger/ApplyView.h @@ -402,6 +402,10 @@ struct ApplyViewContext { ApplyView& view; STTx const& tx; + + ApplyViewContext(ApplyViewContext const&) = delete; + ApplyViewContext& + operator=(ApplyViewContext const&) = delete; }; namespace directory {