Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-01-06 04:48:05 +0300
committerAnna Henningsen <anna@addaleax.net>2019-01-09 02:26:01 +0300
commit8ec3c350f54933d9237c63dd17a9a24472fce591 (patch)
tree26b36685870e5db3214c21c9bd114ea674dae151 /src/util.h
parent0c8dedd103f78e3f6f9cc907240b9beaabdf12c3 (diff)
src: use generic helper for splitting strings
PR-URL: https://github.com/nodejs/node/pull/25363 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 1205f2d06b1..2fa16cadeac 100644
--- a/src/util.h
+++ b/src/util.h
@@ -523,7 +523,7 @@ struct FunctionDeleter {
template <typename T, void (*function)(T*)>
using DeleteFnPtr = typename FunctionDeleter<T, function>::Pointer;
-std::set<std::string> ParseCommaSeparatedSet(const std::string& in);
+std::vector<std::string> SplitString(const std::string& in, char delim);
inline v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
const std::string& str,