You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use unique_ptr for ReverseModeVisitor::m_ExternalSource
Replace the raw owning pointer m_ExternalSource with
std::unique_ptr<MultiplexExternalRMVSource>. This makes ownership
explicit and exception-safe, removing the manual delete path in the
destructor. The destructor is now defaulted.
All existing usage sites use either bool-test (if (m_ExternalSource))
or arrow dereference (m_ExternalSource->Method()), both of which work
identically with unique_ptr.
Fixes: #1839
0 commit comments