projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62eac10
)
- Added assignment operator
author
Marius Tomaschewski
<mt@suse.de>
Thu, 12 Jan 2006 15:13:20 +0000
(15:13 +0000)
committer
Marius Tomaschewski
<mt@suse.de>
Thu, 12 Jan 2006 15:13:20 +0000
(15:13 +0000)
zypp/url/UrlBase.h
patch
|
blob
|
history
diff --git
a/zypp/url/UrlBase.h
b/zypp/url/UrlBase.h
index 1cdf4c2a469819871f11e2fe00120ca413c4b1a1..7ad6b6550f4196f14fa6356ccde2e2e3144286ca 100644
(file)
--- a/
zypp/url/UrlBase.h
+++ b/
zypp/url/UrlBase.h
@@
-89,6
+89,10
@@
namespace zypp
operator - (const ViewOption &l, const ViewOption &r)
{ return ViewOption(l.opt & ~r.opt); }
+ inline ViewOption &
+ operator = (const ViewOption &o)
+ { opt = o.opt; return *this; }
+
/** Check if option is set.
* \param o A view option.
* \return True, if the current options bitwise matches