From 179646d1c12d93202afad0bf84490778283ec2e8 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Thu, 16 Feb 2023 08:50:19 +0100 Subject: Fix compiler warnings minimizing use of deprecated API where possible. --- src/utils.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils.cc') diff --git a/src/utils.cc b/src/utils.cc index e6147f09..1d457891 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -849,7 +849,11 @@ path resolve_path(const path& pathname) path temp = pathname; if (temp.string()[0] == '~') temp = expand_path(temp); +#if (BOOST_VERSION >= 106000) + temp.lexically_normal(); +#else temp.normalize(); +#endif return temp; } -- cgit v1.2.3