diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 18:55:43 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 18:55:43 +0000 |
commit | c550756d89ac192568e6916962bf148b6fa51e30 (patch) | |
tree | 0ce39d106373d92f329f62232cd46a77941c1468 /base/string_tokenizer.h | |
parent | 0d5529391070e6d4ad1093f02c4491f2b2854ebf (diff) | |
download | chromium_src-c550756d89ac192568e6916962bf148b6fa51e30.zip chromium_src-c550756d89ac192568e6916962bf148b6fa51e30.tar.gz chromium_src-c550756d89ac192568e6916962bf148b6fa51e30.tar.bz2 |
Templatizing set_quote_chars method in tokenizer.
Review URL: http://codereview.chromium.org/21045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_tokenizer.h')
-rw-r--r-- | base/string_tokenizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/string_tokenizer.h b/base/string_tokenizer.h index 27df4b3..f4f4c28 100644 --- a/base/string_tokenizer.h +++ b/base/string_tokenizer.h @@ -104,7 +104,7 @@ class StringTokenizerT { // it ignores delimiters that it finds. It switches out of this mode once it // finds another instance of the quote char. If a backslash is encountered // within a quoted string, then the next character is skipped. - void set_quote_chars(const std::string& quotes) { quotes_ = quotes; } + void set_quote_chars(const str& quotes) { quotes_ = quotes; } // Call this method to advance the tokenizer to the next delimiter. This // returns false if the tokenizer is complete. This method must be called |