aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libother/number.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libother/number.cpp')
-rw-r--r--sources/shiboken6/tests/libother/number.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libother/number.cpp b/sources/shiboken6/tests/libother/number.cpp
index 538cea01e..fbf50dc4a 100644
--- a/sources/shiboken6/tests/libother/number.cpp
+++ b/sources/shiboken6/tests/libother/number.cpp
@@ -14,7 +14,7 @@ Str Number::toStr() const
Point operator*(const Point &p, const Number &n)
{
- return Point(p.x() * n.value(), p.y() * n.value());
+ return {p.x() * n.value(), p.y() * n.value()};
}
Complex Number::toComplex() const