diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-12-08 15:26:35 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-12-08 16:46:56 +0900 |
commit | ced7179117fd67cb1632f943f4ba1fde96423c0c (patch) | |
tree | 1a34c643807e31e61d6b748b3e2f387c013c11bb | |
parent | 1414f3b5cc2bca3a3871bfe569510c1a422629fe (diff) | |
download | libquotient-ced7179117fd67cb1632f943f4ba1fde96423c0c.tar.gz libquotient-ced7179117fd67cb1632f943f4ba1fde96423c0c.zip |
StateEvent<>: make data members private
Keeping them protected extends API surface with no reasonable use from it (and for now derived classes don't access StateEvent<> data members directly, anyway).
-rw-r--r-- | lib/events/stateevent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/stateevent.h b/lib/events/stateevent.h index d4a7e8b3..d82de7e1 100644 --- a/lib/events/stateevent.h +++ b/lib/events/stateevent.h @@ -95,7 +95,7 @@ namespace QMatrixClient { QString prevSenderId() const { return _prev ? _prev->senderId : QString(); } - protected: + private: ContentT _content; std::unique_ptr<Prev<ContentT>> _prev; }; |