ref: refs/heads/master
commit a03d34c6856ffcc8397419d9c4cbed0b60f3183b
Author: Michael Andres
Date: Fri May 8 12:52:22 2009 +0200
doc and log fixes
---
zypp/Repository.cc | 4 +++-
zypp/parser/HistoryLogReader.h | 10 +++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/zypp/Repository.cc b/zypp/Repository.cc
index 31decf0..7294e40 100644
--- a/zypp/Repository.cc
+++ b/zypp/Repository.cc
@@ -204,6 +204,8 @@ namespace zypp
// subpriority is used to e.g. prefer http over dvd iff
// both have same priority.
_repo->subpriority = media::MediaPriority( info_r.url() );
+
+ MIL << *this << endl;
}
void Repository::clearInfo()
@@ -294,7 +296,7 @@ namespace zypp
return str << "sat::repo(" << obj.alias() << ")"
<< "{"
- << "prio " << obj.get()->priority
+ << "prio " << obj.get()->priority << '.' << obj.get()->subpriority
<< ", size " << obj.solvablesSize()
<< "}";
}
diff --git a/zypp/parser/HistoryLogReader.h b/zypp/parser/HistoryLogReader.h
index 45ecd27..e31eb91 100644
--- a/zypp/parser/HistoryLogReader.h
+++ b/zypp/parser/HistoryLogReader.h
@@ -7,11 +7,11 @@
| |
\---------------------------------------------------------------------*/
-/** \file HistoryLogReader.h
+/** \file zypp/parser/HistoryLogReader.h
*
*/
-#ifndef ZYPP_HISTORYLOGREADER_H_
-#define ZYPP_HISTORYLOGREADER_H_
+#ifndef ZYPP_PARSER_HISTORYLOGREADER_H_
+#define ZYPP_PARSER_HISTORYLOGREADER_H_
#include "zypp/base/PtrTypes.h"
#include "zypp/ProgressData.h"
@@ -45,7 +45,7 @@ namespace zypp
* {
* vectorHistoryItem::Ptr items;
*
- * bool processEntry( const HistoryItem::Ptr & item_ptr )
+ * bool operator()( const HistoryItem::Ptr & item_ptr )
* {
* items.push_back(item_ptr);
* return true;
@@ -150,4 +150,4 @@ namespace zypp
} // namespace zypp
///////////////////////////////////////////////////////////////////
-#endif /* ZYPP_HISTORYLOGREADER_H_ */
+#endif /* ZYPP_PARSER_HISTORYLOGREADER_H_ */
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org