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

Unified Diff: net/tools/flip_server/simple_buffer.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 | « net/tools/flip_server/acceptor_thread.h ('k') | net/tools/flip_server/simple_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/simple_buffer.h
diff --git a/net/tools/flip_server/simple_buffer.h b/net/tools/flip_server/simple_buffer.h
index fee7d4b104ec7a11d75dcff26b080a16d760f979..831531dd4a48863a9f4ce3f59fb281c14012d812 100644
--- a/net/tools/flip_server/simple_buffer.h
+++ b/net/tools/flip_server/simple_buffer.h
@@ -16,9 +16,7 @@ class SimpleBuffer : public BufferInterface {
public:
SimpleBuffer();
explicit SimpleBuffer(int size);
- virtual ~SimpleBuffer() {
- delete[] storage_;
- }
+ virtual ~SimpleBuffer();
std::string str() const;
@@ -92,4 +90,3 @@ class SimpleBuffer : public BufferInterface {
} // namespace net
#endif // NET_TOOLS_FLIP_SERVER_SIMPLE_BUFFER_H__
-
« no previous file with comments | « net/tools/flip_server/acceptor_thread.h ('k') | net/tools/flip_server/simple_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698