Commit 624f14f
authored
Fix compilation warnings (#2517)
This PR resolves compilation warnings:
> warning: class template argument deduction for alias templates is a
C++20 extension [-Wc++20-extensions]
As for now DPNP is building with C++17 standard, and Class Template
Argument Deduction is available where only for a class template, but not
for a type alias. What support was added in C++20 standard.
Since there are currently no plans to move to the C++20 standard, the
code has been updated to conform to the C++17 standard.1 parent 0684c1f commit 624f14f
File tree
2 files changed
+7
-3
lines changed- dpnp/backend/extensions/statistics
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
147 | | - | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
168 | | - | |
| 170 | + | |
| 171 | + | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
0 commit comments