telepathy-qt: BaseConnection, BaseChannel: Fixed mPriv member type.
Alexandr Akulich
kaffeine at kemper.freedesktop.org
Wed May 6 01:10:28 PDT 2015
Module: telepathy-qt
Branch: master
Commit: f4f0d1a9b22aead8a4d5bdb37a3ff1d96e7c34ae
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=f4f0d1a9b22aead8a4d5bdb37a3ff1d96e7c34ae
Author: Alexandr Akulich <akulichalexander at gmail.com>
Date: Tue Apr 21 11:53:17 2015 +0500
BaseConnection, BaseChannel: Fixed mPriv member type.
BaseConnection::Private and BaseChannel::Private was been declared
as classes, but defined as structs. As Private used to be struct
everywhere in the project, declaration changed to last one.
AbstractConnectionInterface, AbstractChannelInterface: mPriv member type
changed to struct to be consistent.
Reviewed-by: David Edmundson
---
TelepathyQt/base-channel.h | 9 +++++----
TelepathyQt/base-connection.h | 8 ++++----
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/TelepathyQt/base-channel.h b/TelepathyQt/base-channel.h
index 699ff07..4863512 100644
--- a/TelepathyQt/base-channel.h
+++ b/TelepathyQt/base-channel.h
@@ -87,8 +87,8 @@ protected:
private:
class Adaptee;
friend class Adaptee;
- class Private;
- friend class Private;
+ struct Private;
+ friend struct Private;
Private *mPriv;
};
@@ -104,9 +104,10 @@ public:
private:
friend class BaseChannel;
- class Private;
- friend class Private;
+ struct Private;
+ friend struct Private;
Private *mPriv;
+
};
class TP_QT_EXPORT BaseChannelTextType : public AbstractChannelInterface
diff --git a/TelepathyQt/base-connection.h b/TelepathyQt/base-connection.h
index c557605..2452087 100644
--- a/TelepathyQt/base-connection.h
+++ b/TelepathyQt/base-connection.h
@@ -135,8 +135,8 @@ protected:
private:
class Adaptee;
friend class Adaptee;
- class Private;
- friend class Private;
+ struct Private;
+ friend struct Private;
Private *mPriv;
};
@@ -152,8 +152,8 @@ public:
private:
friend class BaseConnection;
- class Private;
- friend class Private;
+ struct Private;
+ friend struct Private;
Private *mPriv;
};
More information about the telepathy-commits
mailing list