Commit 21ce61b
authored
[ADT] Use "static inline" to initialize EmptyDivergenceDesc; (NFC) (#160445)
In C++17, we can initialize a static member variable with "static
inline" as part of the class definition. With this, we can eliminate
the out-of-line static initializer involving boilerplate template
code.1 parent 3b5c6bf commit 21ce61b
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | 744 | | |
749 | 745 | | |
750 | 746 | | |
| |||
0 commit comments