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

Unified Diff: src/IceELFStreamer.h

Issue 952953002: Subzero: Improve class definition hygiene. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix typo Created 5 years, 10 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/IceELFSection.h ('k') | src/IceFixups.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceELFStreamer.h
diff --git a/src/IceELFStreamer.h b/src/IceELFStreamer.h
index ce70e86f8889066fc74a9e7644e3bc12f5807f2c..50e4dd72575bc31d3e6faca89a1b3d876b840fea 100644
--- a/src/IceELFStreamer.h
+++ b/src/IceELFStreamer.h
@@ -22,6 +22,10 @@ namespace Ice {
// Low level writer that can that can handle ELFCLASS32/64.
// Little endian only for now.
class ELFStreamer {
+ ELFStreamer() = delete;
+ ELFStreamer(const ELFStreamer &) = delete;
+ ELFStreamer &operator=(const ELFStreamer &) = delete;
+
public:
explicit ELFStreamer(Fdstream &Out) : Out(Out) {}
« no previous file with comments | « src/IceELFSection.h ('k') | src/IceFixups.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698