From b5a417901581b173dbd4df217ba5a08d431adb18 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 6 Feb 2024 10:47:26 +0300 Subject: Suppress GCC's 'may be used uninitialized' warning --- common/relationship/basics/test.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/relationship') diff --git a/common/relationship/basics/test.hxx b/common/relationship/basics/test.hxx index 8a2742e..e2d3936 100644 --- a/common/relationship/basics/test.hxx +++ b/common/relationship/basics/test.hxx @@ -179,7 +179,7 @@ operator== (const obj3& x, const obj3& y) #pragma db value struct comp { - comp () {} + comp () = default; comp (int n, obj3_ptr o): num (n), o3 (o) {} int num; -- cgit v1.1