return by const ref

This commit is contained in:
Crzyrndm 2018-07-09 15:54:28 +12:00
parent ec02121c15
commit 7458426111
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ public:
/// <summary> /// <summary>
/// Returns a string of the form rId# that identifies the relationship. /// Returns a string of the form rId# that identifies the relationship.
/// </summary> /// </summary>
std::string id() const; const std::string& id() const;
/// <summary> /// <summary>
/// Returns the type of this relationship. /// Returns the type of this relationship.

View File

@ -36,7 +36,7 @@ relationship::relationship(
{ {
} }
std::string relationship::id() const const std::string& relationship::id() const
{ {
return id_; return id_;
} }