summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-05-24 09:29:46 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-05-24 09:34:57 +0200
commit8fe6f14bf025a4f0b4f8c6c6133d54652e1b3b4e (patch)
tree9fa2293d4dd9f60457328e26880d6fe38de9fe76 /examples/network
parent4965b0ed77c7f6d47d30fd8568695cc71d1f690d (diff)
QBasicTimer: add some noexcept and constexpr
The noexcept part should be clear. The constexpr should make the compiler not create initialization code for static instances. This is how std::mutex works[1], and Clang and GCC understand it. MSVC doesn't. [1] https://en.cppreference.com/w/cpp/thread/mutex/mutex Change-Id: If9e4c6c0279f0024a659d5602d55e126224ca950 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'examples/network')
0 files changed, 0 insertions, 0 deletions