You can't partially specialize a template function, so these specializations for steady_clock only worked if the Duration parameter was nanoseconds. This could have been solved with function overloads instead, but I find the if constexpr code simpler to read. Pick-to: 6.5 Change-Id: Ieec322d73c1e40ad95c8fffd17468bd73fc2fe24 Reviewed-by: Marc Mutz <marc.mutz@qt.io> |
||
|---|---|---|
| .. | ||
| animation | ||
| global | ||
| io | ||
| ipc | ||
| itemmodels | ||
| kernel | ||
| mimetypes | ||
| platform | ||
| plugin | ||
| serialization | ||
| text | ||
| thread | ||
| time | ||
| tools | ||
| CMakeLists.txt | ||