Index: src/unique.h |
diff --git a/src/unique.h b/src/unique.h |
index 373a5bea8a5584f1172a7c1ebad7b1c4dbf83e1c..ffc659fa10a33179580e2108b8a819471b056e7e 100644 |
--- a/src/unique.h |
+++ b/src/unique.h |
@@ -174,7 +174,7 @@ class PrintableUnique : public Unique<T> { |
return PrintableUnique<T>(zone, reinterpret_cast<Address>(*handle), handle); |
} |
- const char* string() { return string_; } |
+ const char* string() const { return string_; } |
private: |
const char* string_; |