Reduce deprecated warnings
authorMichael Andres <ma@suse.de>
Mon, 10 Oct 2011 16:55:32 +0000 (18:55 +0200)
committerMichael Andres <ma@suse.de>
Mon, 10 Oct 2011 16:55:32 +0000 (18:55 +0200)
zypp/ZYppCommitResult.cc
zypp/ZYppCommitResult.h

index bcacda1..ff3da49 100644 (file)
@@ -53,6 +53,14 @@ namespace zypp
   : _result(0), _pimpl( new Impl )
   {}
 
+  ZYppCommitResult::ZYppCommitResult( const ZYppCommitResult & lhs_r )
+  : _result(0)
+  , _errors( lhs_r._errors )
+  , _remaining( lhs_r._remaining )
+  , _srcremaining( lhs_r._srcremaining )
+  , _pimpl( lhs_r._pimpl )
+  {}
+
   ZYppCommitResult::ZYppCommitResult( const Pathname & root_r )
   : _result(0), _pimpl( new Impl )
   { _pimpl->_root = root_r; }
index 73b9a1a..ae16b1c 100644 (file)
@@ -66,6 +66,7 @@ namespace zypp
 
     public:
       ZYppCommitResult();
+      ZYppCommitResult( const ZYppCommitResult & lhs_r );
       ZYppCommitResult( const Pathname & root_r );
       ~ZYppCommitResult();