From 0d93aa75a523677c4216fef841dd1e1f93b7b1b4 Mon Sep 17 00:00:00 2001 From: Drewniok Date: Thu, 4 Apr 2024 09:33:09 +0200 Subject: [PATCH] :white_check_mark: update tests. --- test/views/names_view.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/views/names_view.cpp b/test/views/names_view.cpp index 588304b59..276d173a0 100644 --- a/test/views/names_view.cpp +++ b/test/views/names_view.cpp @@ -99,7 +99,8 @@ void test_copy_names_view() CHECK( named_ntk.has_name( c ) ); CHECK( named_ntk.has_output_name( 0 ) ); - names_view new_named_ntk = named_ntk; + names_view new_named_ntk{}; + new_named_ntk = named_ntk; CHECK( new_named_ntk.has_name( a ) ); CHECK( new_named_ntk.has_name( b ) ); CHECK( new_named_ntk.has_name( c ) );