Commit 0f6bc10
constexpr in camera CompParameters
Summary:
Behavior-preserving optimization (constexpr) for `geometry/camera.h`:
- Mark `CompParameters::operator()` `constexpr` (pure comparator, only `static_cast` + `<`, literal `size_t` return). Additive; the operator was already implicitly inline.
No observable behavior change. Verified by build + tests (205 passed).
___
Differential Revision: D108284669
fbshipit-source-id: cf43011ea0cb483306efe40c904d589edefa6bc11 parent c02c1be commit 0f6bc10
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments