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

Unified Diff: src/ostreams.h

Issue 1503383003: OFStream should have a virtual destructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ostreams.h
diff --git a/src/ostreams.h b/src/ostreams.h
index 6f8600e7b1c522b6d3aab16be4bc63e74fe42cb5..56f4aa7e45b766392699c6d36e49793071f0989d 100644
--- a/src/ostreams.h
+++ b/src/ostreams.h
@@ -36,7 +36,7 @@ class OFStreamBase : public std::streambuf {
class OFStream : public std::ostream {
public:
explicit OFStream(FILE* f);
- ~OFStream();
+ virtual ~OFStream();
private:
OFStreamBase buf_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698