Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 1232) |
+++ include/v8.h (working copy) |
@@ -859,7 +859,7 @@ |
public: |
explicit Utf8Value(Handle<v8::Value> obj); |
~Utf8Value(); |
- char* operator*() { return str_; } |
+ char* operator*() const { return str_; } |
int length() { return length_; } |
private: |
char* str_; |
@@ -878,7 +878,7 @@ |
public: |
explicit AsciiValue(Handle<v8::Value> obj); |
~AsciiValue(); |
- char* operator*() { return str_; } |
+ char* operator*() const { return str_; } |
int length() { return length_; } |
private: |
char* str_; |
@@ -896,7 +896,7 @@ |
public: |
explicit Value(Handle<v8::Value> obj); |
~Value(); |
- uint16_t* operator*() { return str_; } |
+ uint16_t* operator*() const { return str_; } |
int length() { return length_; } |
private: |
uint16_t* str_; |