<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - New GCC 9 warning (-Wdeprecated-copy)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122605#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - New GCC 9 warning (-Wdeprecated-copy)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122605">bug 122605</a>
              from <span class="vcard"><a class="email" href="mailto:mliska@suse.cz" title="Martin Liška <mliska@suse.cz>"> <span class="fn">Martin Liška</span></a>
</span></b>
        <pre>There's a patch candidate, can you please merge it:

diff --git a/examples/cppunittest/OrthodoxTest.h
b/examples/cppunittest/OrthodoxTest.h
index 8fc2a08..3781415 100644
--- a/examples/cppunittest/OrthodoxTest.h
+++ b/examples/cppunittest/OrthodoxTest.h
@@ -37,6 +36,7 @@ private:
   {
   public:
     Value( int value =0 ) : m_value( value ) {}
+    Value( const Value &other) : m_value ( other.m_value ) {}

     Value& operator= ( const Value& v )
     {
@@ -143,6 +143,12 @@ private:
     {
       return ValueBadCall( -1 - m_value );
     }
+
+    ValueBadCall &operator =( const ValueBadCall &other)
+    {
+      m_value = other.m_value;
+      return *this;
+    }
   };


@@ -150,6 +156,9 @@ private:
   {
   public:
     ValueBadAssignment( int value =0 ) : Value( value ) {}
+    ValueBadAssignment( const ValueBadAssignment &other): Value
(other.m_value)
+    {
+    }

     ValueBadAssignment operator !()
     {</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>