aboutsummaryrefslogtreecommitdiff
path: root/src/processor/tokenize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/tokenize.h')
-rw-r--r--src/processor/tokenize.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/processor/tokenize.h b/src/processor/tokenize.h
index 1562b823..9ff571d5 100644
--- a/src/processor/tokenize.h
+++ b/src/processor/tokenize.h
@@ -35,6 +35,8 @@
#include <string>
#include <vector>
+#include "common/using_std_string.h"
+
namespace google_breakpad {
// Splits line into at most max_tokens tokens, separated by any of the
@@ -49,12 +51,12 @@ namespace google_breakpad {
// exact, as opposed to maximum, number of tokens.
bool Tokenize(char *line,
- const char *separators,
- int max_tokens,
- std::vector<char*> *tokens);
+ const char *separators,
+ int max_tokens,
+ std::vector<char*> *tokens);
// For convenience, since you need a char* to pass to Tokenize.
-// You can call StringToVector on a std::string, and use &vec[0].
-void StringToVector(const std::string &str, std::vector<char> &vec);
+// You can call StringToVector on a string, and use &vec[0].
+void StringToVector(const string &str, std::vector<char> &vec);
} // namespace google_breakpad