Index: url/url_canon.h |
diff --git a/url/url_canon.h b/url/url_canon.h |
index 624eeaf4710a3bedaadcb606eb43c80167f08a9e..3b9f906c700773b113684082aa9a6b8cd05fdfbe 100644 |
--- a/url/url_canon.h |
+++ b/url/url_canon.h |
@@ -41,13 +41,13 @@ class CanonOutputT { |
// Accessor for returning a character at a given position. The input offset |
// must be in the valid range. |
- inline char at(int offset) const { |
+ inline T at(int offset) const { |
return buffer_[offset]; |
} |
// Sets the character at the given position. The given position MUST be less |
// than the length(). |
- inline void set(int offset, int ch) { |
+ inline void set(int offset, T ch) { |
buffer_[offset] = ch; |
} |