From df9b8f8ae7a540988c20fdffaaff2442c349873a Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 20 Jun 2014 21:31:41 -0700 Subject: Moving tokenize, percentEncode and percentDecode around. Fixing a few warnings. Workarounding c-ares and pthreads compilation issue with unicode. --- includes/BString.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'includes/BString.h') diff --git a/includes/BString.h b/includes/BString.h index 0a5fceb..dc9fd5d 100644 --- a/includes/BString.h +++ b/includes/BString.h @@ -134,6 +134,9 @@ class String : private std::string { bool isEmpty() { return std::string::empty(); } + std::vector tokenize(const String & delimiters = "&", bool trimEmpty = true); + + using std::string::npos; using std::string::size_type; }; -- cgit v1.2.3