mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
return by const ref
This commit is contained in:
parent
ec02121c15
commit
7458426111
|
@ -115,7 +115,7 @@ public:
|
|||
/// <summary>
|
||||
/// Returns a string of the form rId# that identifies the relationship.
|
||||
/// </summary>
|
||||
std::string id() const;
|
||||
const std::string& id() const;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the type of this relationship.
|
||||
|
|
|
@ -36,7 +36,7 @@ relationship::relationship(
|
|||
{
|
||||
}
|
||||
|
||||
std::string relationship::id() const
|
||||
const std::string& relationship::id() const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user