aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2023-01-12 14:00:43 +0100
committerGitHub <noreply@github.com>2023-01-12 14:00:43 +0100
commiteaa20f25747eb025c7c4e69fa83f0e455a65393f (patch)
tree81095c7cbe9746754967aedad9376e1924f5d457 /src/libstore
parent6dd8b3b4122d9a4dccf17c00a290349a1509a7d6 (diff)
parent48b2a3a0d03d524a0c1048e7a74acdead11a57b4 (diff)
Merge pull request #7590 from fricklerhandwerk/remove-unnecessary-cast
remove unncessary cast
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/path-with-outputs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/path-with-outputs.cc b/src/libstore/path-with-outputs.cc
index 17230ffc4..eae5553c5 100644
--- a/src/libstore/path-with-outputs.cc
+++ b/src/libstore/path-with-outputs.cc
@@ -52,8 +52,8 @@ std::pair<std::string_view, StringSet> parsePathWithOutputs(std::string_view s)
size_t n = s.find("!");
return n == s.npos
? std::make_pair(s, std::set<std::string>())
- : std::make_pair(((std::string_view) s).substr(0, n),
- tokenizeString<std::set<std::string>>(((std::string_view) s).substr(n + 1), ","));
+ : std::make_pair(s.substr(0, n),
+ tokenizeString<std::set<std::string>>(s.substr(n + 1), ","));
}