From 75e835ef4b549a70e5f0843ab7ac69cfe4917ea8 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 26 Nov 2014 18:49:55 -0800 Subject: [PATCH] Remove double friend class Fix linux compiler warning --- src/comm/LinkInterface.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/comm/LinkInterface.h b/src/comm/LinkInterface.h index 88539ed22..71ce3ddf0 100644 --- a/src/comm/LinkInterface.h +++ b/src/comm/LinkInterface.h @@ -49,7 +49,7 @@ class LinkInterface : public QThread { Q_OBJECT - // Only LinkManager is allowed to _connect or _disconnect a link + // Only LinkManager is allowed to _connect, _disconnect or delete a link friend class LinkManager; public: @@ -338,8 +338,6 @@ private: bool _ownedByLinkManager; ///< true: This link has been added to LinkManager, false: Link not added to LinkManager bool _deletedByLinkManager; ///< true: Link being deleted from LinkManager, false: error, Links should only be deleted from LinkManager - - friend class LinkManager; }; #endif // _LINKINTERFACE_H_ -- 2.22.0