diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-05 19:18:23 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-05 20:13:05 +0300 |
commit | 01bf760a937cc80901dac5b14fa8d165761ebd11 (patch) | |
tree | f69325be386ca3c7e2219a6accd828bbdc222ce8 | |
parent | abbc881d380800fdae6d4956cb40159db808b72f (diff) |
Suppress GCC's 'may be used uninitialized' warning
-rw-r--r-- | odb-tests/common/relationship/basics/test.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb-tests/common/relationship/basics/test.hxx b/odb-tests/common/relationship/basics/test.hxx index 8a2742e..e2d3936 100644 --- a/odb-tests/common/relationship/basics/test.hxx +++ b/odb-tests/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; |