Author: jkupec
Date: Thu May 17 15:55:37 2007
New Revision: 5562
URL: http://svn.opensuse.org/viewcvs/zypp?rev=5562&view=rev
Log:
- using set to store data of atoms
- Added missing IMPL_PTR_TYPE(Atom)
Modified:
trunk/libzypp/zypp/data/ResolvableData.cc
trunk/libzypp/zypp/data/ResolvableData.h
Modified: trunk/libzypp/zypp/data/ResolvableData.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/data/ResolvableData.cc?rev=5562&r1=5561&r2=5562&view=diff
==============================================================================
--- trunk/libzypp/zypp/data/ResolvableData.cc (original)
+++ trunk/libzypp/zypp/data/ResolvableData.cc Thu May 17 15:55:37 2007
@@ -20,6 +20,7 @@
IMPL_PTR_TYPE(ResObject);
IMPL_PTR_TYPE(Script);
IMPL_PTR_TYPE(Message);
+IMPL_PTR_TYPE(Atom);
IMPL_PTR_TYPE(Patch);
IMPL_PTR_TYPE(Pattern);
IMPL_PTR_TYPE(Product);
Modified: trunk/libzypp/zypp/data/ResolvableData.h
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/data/ResolvableData.h?rev=5562&r1=5561&r2=5562&view=diff
==============================================================================
--- trunk/libzypp/zypp/data/ResolvableData.h (original)
+++ trunk/libzypp/zypp/data/ResolvableData.h Thu May 17 15:55:37 2007
@@ -191,7 +191,6 @@
{
public:
Patch()
- : rebootNeeded(false), affectsPkgManager(false)
{};
/** Patch ID */
@@ -206,11 +205,12 @@
DefaultIntegral rebootNeeded;
/** Does the patch affect the package manager itself? */
DefaultIntegral affectsPkgManager;
-
- /** The list of all atoms building the patch.
- * \todo See whether we need this.
+
+ /**
+ * The set of all atoms building the patch. These can be either
+ * \ref Atom, \ref Message or \ref Script.
*/
- std::set<RecordId> atomList;
+ std::set atoms;
};
///////////////////////////////////////////////////////////////////
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org