Transport::getRemoteAddress() return reference

make it clear that result is always !NULL
This commit is contained in:
Michael Davidsaver
2018-02-01 19:09:44 -08:00
parent f1defe4e9f
commit 9b828852c0
9 changed files with 15 additions and 19 deletions

View File

@ -355,8 +355,8 @@ public:
return std::string("TCP");
}
const osiSockAddr* getRemoteAddress() const {
return &dummyAddr;
const osiSockAddr& getRemoteAddress() const {
return dummyAddr;
}
std::string dummyRemoteName;
const std::string& getRemoteName() const {