summaryrefslogtreecommitdiff
path: root/src/utils/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/cpp')
-rw-r--r--src/utils/cpp/path.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/cpp/path.hpp b/src/utils/cpp/path.hpp
index a9fb08e5..3b44748a 100644
--- a/src/utils/cpp/path.hpp
+++ b/src/utils/cpp/path.hpp
@@ -18,8 +18,8 @@
#include <filesystem>
#include <sstream>
-[[nodiscard]] static inline auto ToNormalPath(std::filesystem::path const& p)
- -> std::filesystem::path {
+[[nodiscard]] static inline auto ToNormalPath(
+ std::filesystem::path const& p) noexcept -> std::filesystem::path {
auto n = p.lexically_normal();
if (not n.has_filename()) {
n = n.parent_path();