fix build

This commit is contained in:
Mayukha Vadari
2026-06-26 12:21:37 -05:00
parent 6947d41dd5
commit b591bfeacf

View File

@@ -115,7 +115,7 @@ public:
inline ApplyViewContext&
getApplyViewContext()
{
XRPL_ASSERT(&viewCtx_.view == &view_, "Previous view discarded");
XRPL_ASSERT(view_.has_value() && (&viewCtx_.view == &*view_), "Previous view discarded");
return viewCtx_;
}