aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-06 10:47:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-06 10:47:26 +0300
commitb5a417901581b173dbd4df217ba5a08d431adb18 (patch)
tree5c96b159da58fdbf5e6ba0bab8bb127e50bb0be1
parent3dd257f0e72c4b9c83a930b79a8d1864dae3a745 (diff)
Suppress GCC's 'may be used uninitialized' warningswitch-to-build2
-rw-r--r--common/relationship/basics/test.hxx2
1 files changed, 1 insertions, 1 deletions
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;