From 0e5b0b1cbd990ab9dea08c04374c7371c0e0fae5 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Tue, 17 Dec 2024 16:52:21 +0000 Subject: [PATCH] Make RequestOptions const. --- include/clad/Differentiator/DiffPlanner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,