Skip to content

Commit

Permalink
Merge pull request #7590 from fricklerhandwerk/remove-unnecessary-cast
Browse files Browse the repository at this point in the history
remove unncessary cast
  • Loading branch information
thufschmitt authored Jan 12, 2023
2 parents 6dd8b3b + 48b2a3a commit eaa20f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstore/path-with-outputs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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), ","));
}


Expand Down

0 comments on commit eaa20f2

Please sign in to comment.