Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / IdString.cc
index ea60a8c..33e05f2 100644 (file)
@@ -32,16 +32,8 @@ namespace zypp
   : _id( ::pool_str2id( myPool().getPool(), str_r, /*create*/true ) )
   {}
 
-  IdString::IdString( const char * str_r, unsigned len_r )
-  : _id( ::pool_strn2id( myPool().getPool(), str_r, len_r, /*create*/true ) )
-  {}
-
   IdString::IdString( const std::string & str_r )
-  : IdString( str_r.c_str(), str_r.length() )
-  {}
-
-  IdString::IdString( boost::string_ref str_r )
-  : IdString( str_r.data(), str_r.length() )
+  : _id( ::pool_str2id( myPool().getPool(), str_r.c_str(), /*create*/true ) )
   {}
 
   unsigned IdString::size() const