diff options
Diffstat (limited to 'third_party/nix/src/libstore/nar-info.cc')
-rw-r--r-- | third_party/nix/src/libstore/nar-info.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/nix/src/libstore/nar-info.cc b/third_party/nix/src/libstore/nar-info.cc index 9f4c53e19b59..1dc0b54cf1e6 100644 --- a/third_party/nix/src/libstore/nar-info.cc +++ b/third_party/nix/src/libstore/nar-info.cc @@ -1,6 +1,7 @@ #include "nar-info.hh" #include <absl/strings/numbers.h> +#include <absl/strings/str_split.h> #include "globals.hh" @@ -59,7 +60,7 @@ NarInfo::NarInfo(const Store& store, const std::string& s, corrupt(); } } else if (name == "References") { - auto refs = tokenizeString<Strings>(value, " "); + std::vector<std::string> refs = absl::StrSplit(value, absl::ByChar(' ')); if (!references.empty()) { corrupt(); } |