Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1353)

Unified Diff: src/string-stream.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/snapshot/snapshot-source-sink.h ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string-stream.h
diff --git a/src/string-stream.h b/src/string-stream.h
index 3b820cdf87b5db788b3b9380c8f95dec2c15fa80..b8828ee620405c13dcd43ea2b199f9470cb22508 100644
--- a/src/string-stream.h
+++ b/src/string-stream.h
@@ -24,18 +24,18 @@ class StringAllocator {
// Normal allocator uses new[] and delete[].
-class HeapStringAllocator FINAL : public StringAllocator {
+class HeapStringAllocator final : public StringAllocator {
public:
~HeapStringAllocator() { DeleteArray(space_); }
- char* allocate(unsigned bytes) OVERRIDE;
- char* grow(unsigned* bytes) OVERRIDE;
+ char* allocate(unsigned bytes) override;
+ char* grow(unsigned* bytes) override;
private:
char* space_;
};
-class FmtElm FINAL {
+class FmtElm final {
public:
FmtElm(int value) : type_(INT) { // NOLINT
data_.u_int_ = value;
@@ -75,7 +75,7 @@ class FmtElm FINAL {
};
-class StringStream FINAL {
+class StringStream final {
public:
explicit StringStream(StringAllocator* allocator):
allocator_(allocator),
« no previous file with comments | « src/snapshot/snapshot-source-sink.h ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698