aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexp_p.h
diff options
context:
space:
mode:
authorIvan Tkachenko <me@ratijas.tk>2021-08-17 15:21:19 +0300
committerIvan Tkachenko <me@ratijas.tk>2021-08-24 17:19:50 +0300
commite38980b7271718932a54e53987ac0a9551a11511 (patch)
tree13525ec796cd27ed8c676458b437fe7babfa2d5f /src/qml/jsruntime/qv4regexp_p.h
parent095524dd31aef56d804e89afd74a881e8575ef20 (diff)
Upgrade std::is_trivial::value to C++17 std::is_trivial_v
Since Qt 6 requires at least C++17, we can finally make use of some of its goodness. Change-Id: I56a318bc0b1b60d1e2b0186f335f8feda7622df4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexp_p.h')
-rw-r--r--src/qml/jsruntime/qv4regexp_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4regexp_p.h b/src/qml/jsruntime/qv4regexp_p.h
index 122db47008..c2d6ae646a 100644
--- a/src/qml/jsruntime/qv4regexp_p.h
+++ b/src/qml/jsruntime/qv4regexp_p.h
@@ -106,7 +106,7 @@ struct RegExp : Base {
QString flagsAsString() const;
int captureCount() const { return subPatternCount + 1; }
};
-Q_STATIC_ASSERT(std::is_trivial< RegExp >::value);
+Q_STATIC_ASSERT(std::is_trivial_v<RegExp>);
}