Skip to content

Commit

Permalink
Exception context should return a const ref (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney authored Jun 20, 2024
1 parent e3a9d7d commit 7bebe54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/E57Exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ namespace e57
return Utilities::errorCodeToString( errorCode_ );
}

std::string context() const noexcept
const std::string &context() const noexcept
{
return context_;
}
Expand Down

0 comments on commit 7bebe54

Please sign in to comment.