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

Unified Diff: src/IceUtils.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/IceTypeConverter.h ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceUtils.h
diff --git a/src/IceUtils.h b/src/IceUtils.h
index 7b1ab81bd08b5b6f6a724ff8ea63276829b4097f..1a7a8df6b2e6d2806d003f819fe3ccc1552184d3 100644
--- a/src/IceUtils.h
+++ b/src/IceUtils.h
@@ -31,6 +31,10 @@ template <class D, class S> inline D bit_copy(const S &source) {
}
class Utils {
+ Utils() = delete;
+ Utils(const Utils &) = delete;
+ Utils &operator=(const Utils &) = delete;
+
public:
// Check whether an N-bit two's-complement representation can hold value.
template <typename T> static inline bool IsInt(int N, T value) {
« no previous file with comments | « src/IceTypeConverter.h ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698