diff --git a/include/clad/Differentiator/DiffPlanner.h b/include/clad/Differentiator/DiffPlanner.h index d2b74592b..30b483b7e 100644 --- a/include/clad/Differentiator/DiffPlanner.h +++ b/include/clad/Differentiator/DiffPlanner.h @@ -170,7 +170,7 @@ struct DiffRequest { const clang::FunctionDecl* m_TopMostFD = nullptr; clang::Sema& m_Sema; - RequestOptions& m_Options; + const RequestOptions& m_Options; public: DiffCollector(clang::DeclGroupRef DGR, DiffInterval& Interval,