Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / base / StrMatcher.cc
index 95ab089..0315364 100644 (file)
@@ -22,7 +22,6 @@ extern "C"
 #include "zypp/base/String.h"
 
 #include "zypp/base/StrMatcher.h"
-#include "zypp/sat/detail/PoolMember.h"
 
 using std::endl;
 
@@ -186,7 +185,7 @@ namespace zypp
        if ( _flags.mode() == Match::OTHER )
          ZYPP_THROW( MatchUnknownModeException( _flags, _search ) );
 
-       _matcher.reset( new sat::detail::CDatamatcher );
+       _matcher.reset( new ::_Datamatcher );
        int res = ::datamatcher_init( _matcher.get(), _search.c_str(), _flags.get() );
        if ( res )
        {
@@ -238,7 +237,7 @@ namespace zypp
   private:
     std::string _search;
     Match       _flags;
-    mutable scoped_ptr< sat::detail::CDatamatcher> _matcher;
+    mutable scoped_ptr< ::_Datamatcher> _matcher;
 
   private:
     friend Impl * rwcowClone<Impl>( const Impl * rhs );