diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-07-17 16:52:36 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-07-18 10:07:38 +0200 |
| commit | a5ecf321ea6322b12e710f2f139eb4c497411591 (patch) | |
| tree | 25cf48a10b119184f2610883ee4e3e20b3ee5455 /src/tools/moc/preprocessor.cpp | |
| parent | a09f9b8d71198dd43973a564135c80b13610c979 (diff) | |
QDeadlineTimer: link to cppreference.com for chrono_literals
Also don't use 'using namespace chrono' in snippets, but spell the
types (nanoseconds, steady_clock) out in full. That doesn't break
line-length limitations and makes it clearer (for the reader, and
eventually, qdoc (when QTBUG-138535 lands) where each identifier comes
from.
Also remove the using namespace std::chrono_literals from the code
snippets. They are repetitive and the linked cppreference.com gives
all the available options how to import them, not just the one chosen
here.
Amends 12eacc3bab00f23d187a295b35e4a0d283ba85f4.
Pick-to: 6.10 6.9 6.8 6.5
Task-number: QTBUG-138538
Change-Id: Id983c74cae16e98344e09d5575dc9927c76bec77
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/moc/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
