Commit 99d09eeb authored by legoc's avatar legoc
Browse files

(split) Removed reference in a string return

parent bd11b48c
...@@ -347,7 +347,7 @@ public: ...@@ -347,7 +347,7 @@ public:
const std::string& getName() const; const std::string& getName() const;
const std::string& getApplicationName() const; const std::string& getApplicationName() const;
int getApplicationId() const; int getApplicationId() const;
const std::string& getApplicationEndpoint() const; std::string getApplicationEndpoint() const;
/** /**
* Returns true if the wait succeeds or false if it was canceled. * Returns true if the wait succeeds or false if it was canceled.
......
...@@ -786,7 +786,7 @@ int Publisher::getApplicationId() const { ...@@ -786,7 +786,7 @@ int Publisher::getApplicationId() const {
return m_impl->getApplicationId(); return m_impl->getApplicationId();
} }
const std::string& Publisher::getApplicationEndpoint() const { std::string Publisher::getApplicationEndpoint() const {
return m_impl->getApplicationEndpoint(); return m_impl->getApplicationEndpoint();
} }
......
...@@ -59,7 +59,7 @@ int PublisherImpl::getApplicationId() const { ...@@ -59,7 +59,7 @@ int PublisherImpl::getApplicationId() const {
return m_application->getId(); return m_application->getId();
} }
const std::string& PublisherImpl::getApplicationEndpoint() const { std::string PublisherImpl::getApplicationEndpoint() const {
return m_application->getEndpoint().toString(); return m_application->getEndpoint().toString();
} }
......
...@@ -37,7 +37,7 @@ public: ...@@ -37,7 +37,7 @@ public:
const std::string& getName() const; const std::string& getName() const;
const std::string& getApplicationName() const; const std::string& getApplicationName() const;
int getApplicationId() const; int getApplicationId() const;
const std::string& getApplicationEndpoint() const; std::string getApplicationEndpoint() const;
bool waitForSubscribers(); bool waitForSubscribers();
void cancelWaitForSubscribers(); void cancelWaitForSubscribers();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment