1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 10:31:15 +02:00

Remove toString deprecation warning

This commit is contained in:
Eelco Dolstra 2023-01-26 16:36:10 +01:00
parent 3522978772
commit f4f0f8ae3f

View file

@ -48,8 +48,6 @@ SourcePath EvalState::decodePath(std::string_view s, PosIdx pos)
SourcePath path {accessor->second, CanonPath(s)}; 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; return path;
} catch (std::invalid_argument & e) { } catch (std::invalid_argument & e) {
fail(); fail();