return a *pointer* (not a ref) to the transport layer

This commit is contained in:
lathoub 2020-03-15 01:59:12 +01:00
parent 4da4538cd3
commit e7588b906d
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ private:
inline void resetInput(); inline void resetInput();
public: public:
Transport& getTransport() { return mTransport; } Transport* getTransport() { return &mTransport; };
private: private:
Transport& mTransport; Transport& mTransport;