From ced7179117fd67cb1632f943f4ba1fde96423c0c Mon Sep 17 00:00:00 2001
From: Kitsune Ral <Kitsune-Ral@users.sf.net>
Date: Sat, 8 Dec 2018 15:26:35 +0900
Subject: 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).
---
 lib/events/stateevent.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib/events')

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;
     };
-- 
cgit v1.2.3