- fixed Target ctor to be 'explicit'. The compiler should not be
[platform/upstream/libzypp.git] / zypp / Target.cc
index 3402bfd..1192d6d 100644 (file)
@@ -30,8 +30,8 @@ namespace zypp
   //   METHOD TYPE : Ctor
   //
   Target::Target( const Pathname & root )
+  : _pimpl( new Impl(root) )
   {
-    _pimpl = RW_pointer<Impl, rw_pointer::Intrusive<Impl> >(new Impl(root));
   }
 
   ///////////////////////////////////////////////////////////////////