Skip to content

Commit

Permalink
remove unncessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
fricklerhandwerk committed Jan 12, 2023
1 parent a3ba803 commit 48b2a3a
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 48b2a3a

Please sign in to comment.