Commit 46db606
committed
[RF] Fix debug build
Commit ff86c30 ("[RF] Implement SumW2 correction in new BatchMode
with RooFitDriver") introduced some static constexpr. When building
without compiler optimizations, the build fails with an "undefined
reference to ROOT::Experimental::RooNLLVarNew::weightVarName" because
the compiler attempts to use the external symbol of that variable
when passing to a reference of a pointer. Resolve the issue by calling
the constructor directly instead of std::make_unique.1 parent 4d1d7c3 commit 46db606
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments