ref: refs/heads/ma-tmp-pqt
commit d0fa1d805ba80c7af543e18f8623ccece6686075
Author: Michael Andres
Date: Thu Apr 16 16:45:30 2009 +0200
Provide IdType typedef.
---
zypp/IdStringType.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/zypp/IdStringType.h b/zypp/IdStringType.h
index dbe2cc7..54e5f62 100644
--- a/zypp/IdStringType.h
+++ b/zypp/IdStringType.h
@@ -87,6 +87,8 @@ namespace zypp
private base::SafeBool<Derived>
{
typedef typename base::SafeBool<Derived>::bool_type bool_type;
+ public:
+ typedef IdString::IdType IdType;
protected:
IdStringType() {}
@@ -105,7 +107,7 @@ namespace zypp
const char * c_str() const { return idStr().c_str(); }
std::string asString() const { return idStr().asString(); }
- IdString::IdType id() const { return idStr().id(); }
+ IdType id() const { return idStr().id(); }
public:
#ifndef SWIG // Swig treats it as syntax error
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org