diff --git a/simgear/misc/sg_path.hxx b/simgear/misc/sg_path.hxx index 75129164..f18ffe18 100644 --- a/simgear/misc/sg_path.hxx +++ b/simgear/misc/sg_path.hxx @@ -182,8 +182,8 @@ public: * Get the path string * @return path string */ - std::string str() const { return path; } - std::string utf8Str() const { return path; } + std::string str() const noexcept { return path; } + std::string utf8Str() const noexcept { return path; } std::string local8BitStr() const;