Commit 8d87e2b
committed
[RF] Fix debug build with C++14
Commit ff86c30 ("[RF] Implement SumW2 correction in new BatchMode
with RooFitDriver") introduced some static constexpr. When building
with C++14, at least weightVarName requires a declaration because it
is odr-used. Provide them for all three variables to avoid undefined
references seen in debug builds without compiler optimizations.1 parent b23135d commit 8d87e2b
2 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
0 commit comments