aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/cvlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/cvlist.h')
-rw-r--r--sources/shiboken6/tests/libsample/cvlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/cvlist.h b/sources/shiboken6/tests/libsample/cvlist.h
index e0c6dfeb5..e09c7d943 100644
--- a/sources/shiboken6/tests/libsample/cvlist.h
+++ b/sources/shiboken6/tests/libsample/cvlist.h
@@ -21,7 +21,7 @@ using const_ptr_value_list = std::list<const CVValueType*>;
class CVListUser
{
public:
- static const_ptr_value_list produce() { return const_ptr_value_list(); }
+ static const_ptr_value_list produce() { return {}; }
static void consume(const const_ptr_value_list &l) { (void)l; }
};