We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JSONFileParseError
const
1 parent 4a92a3d commit 3e7c83eCopy full SHA for 3e7c83e
src/core/json/include/sourcemeta/core/json_error.h
@@ -82,7 +82,7 @@ class SOURCEMETA_CORE_JSON_EXPORT JSONFileParseError : public JSONParseError {
82
path_{path} {}
83
84
/// Get the file path of the error
85
- [[nodiscard]] auto path() const noexcept -> const std::filesystem::path {
+ [[nodiscard]] auto path() const noexcept -> const std::filesystem::path & {
86
return path_;
87
}
88
0 commit comments