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
/
Capabilities.h
diff --git
a/zypp/Capabilities.h
b/zypp/Capabilities.h
index
99026ed
..
d1986f9
100644
(file)
--- a/
zypp/Capabilities.h
+++ b/
zypp/Capabilities.h
@@
-74,10
+74,6
@@
namespace zypp
/** Iterator pointing behind the last \ref Capability. */
const_iterator end() const;
/** Iterator pointing behind the last \ref Capability. */
const_iterator end() const;
- public:
- /** Return whether \a lhs matches at least one capability in set. */
- bool matches( const Capability & lhs ) const;
-
private:
const sat::detail::IdType * _begin;
};
private:
const sat::detail::IdType * _begin;
};
@@
-169,13
+165,6
@@
namespace zypp
inline Capabilities::const_iterator Capabilities::end() const
{ return const_iterator( 0 ); }
inline Capabilities::const_iterator Capabilities::end() const
{ return const_iterator( 0 ); }
- inline bool Capabilities::matches( const Capability & lhs ) const
- {
- for ( const Capability & rhs : *this )
- if ( lhs.matches( rhs ) == CapMatch::yes )
- return true;
- return false;
- }
/////////////////////////////////////////////////////////////////
} // namespace zypp
///////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
} // namespace zypp
///////////////////////////////////////////////////////////////////