From f4f0f8ae3fbfc5da400dbb2566bc8659d0580034 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 26 Jan 2023 16:36:10 +0100 Subject: [PATCH] Remove toString deprecation warning --- src/libexpr/paths.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libexpr/paths.cc b/src/libexpr/paths.cc index 8f7fb4264..7a2826e7a 100644 --- a/src/libexpr/paths.cc +++ b/src/libexpr/paths.cc @@ -48,8 +48,6 @@ SourcePath EvalState::decodePath(std::string_view s, PosIdx pos) SourcePath path {accessor->second, CanonPath(s)}; - warn("applying 'toString' to path '%s' and then accessing it is deprecated, at %s", path, positions[pos]); - return path; } catch (std::invalid_argument & e) { fail();