From c550756d89ac192568e6916962bf148b6fa51e30 Mon Sep 17 00:00:00 2001 From: "robertshield@chromium.org" Date: Wed, 4 Feb 2009 18:55:43 +0000 Subject: 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 --- base/string_tokenizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1