projects
/
platform
/
upstream
/
libzypp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 14.45.0
[platform/upstream/libzypp.git]
/
zypp
/
IdString.cc
diff --git
a/zypp/IdString.cc
b/zypp/IdString.cc
index
ea60a8c
..
33e05f2
100644
(file)
--- a/
zypp/IdString.cc
+++ b/
zypp/IdString.cc
@@
-32,16
+32,8
@@
namespace zypp
: _id( ::pool_str2id( myPool().getPool(), str_r, /*create*/true ) )
{}
: _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::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
{}
unsigned IdString::size() const