summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-05-23 14:35:19 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2012-05-23 14:35:19 (GMT)
commit669363ff40f02de493b549ba52032e6606ed1495 (patch)
tree1f10970e134ae47809ff7f11176cc750c5e963dd
parentaee771de11df88a63eef5f77fa1630a50ece6a23 (diff)
downloadlibkolabxml-669363ff40f02de493b549ba52032e6606ed1495.tar.gz
Avoid Python keyword None.
-rw-r--r--src/kolabcontact.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kolabcontact.h b/src/kolabcontact.h
index 6f8eba9..86306ba 100644
--- a/src/kolabcontact.h
+++ b/src/kolabcontact.h
@@ -240,11 +240,11 @@ struct Geo {
struct Url {
enum UrlTypes {
- None = 0,
+ NoType = 0,
Blog
};
- Url(): mType(None) {};
- Url(const std::string &u, int t = None): mUrl(u), mType(t) {};
+ Url(): mType(NoType) {};
+ Url(const std::string &u, int t = NoType): mUrl(u), mType(t) {};
bool operator==(const Url &other) const{ return (mType == other.mType && mUrl == other.mUrl);};