summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-css/main.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-11-28 11:35:18 +0100
committerIvan Solovev <ivan.solovev@qt.io>2023-12-07 06:16:23 +0100
commit091793ccaa5b11d91252a15e8452d6544e4e3504 (patch)
tree5387342b94cd7ce175cc07e7c702d0520b0620f1 /src/gui/doc/snippets/textdocument-css/main.cpp
parent4b755bc11a8eadd156c65b7474c11e3ce822c6f1 (diff)
qcomparehelper.h: simplify compareThreeWay() SFINAE helpers
There's no restriction on the number of enable_if's in a template-initializer, so simplify the compareThreeWay() constraints by having separate constraints each for LeftType and RightType. Fewer templates to instantiate = faster compile speed. As a drive-by, drop remove_reference_t. We control all users and all of them pass already-decayed types. Change-Id: I17c01c7aa1ac03bb6db4b0bef1371ebc0641641d Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-css/main.cpp')
0 files changed, 0 insertions, 0 deletions