Index: src/IceGlobalInits.h |
diff --git a/src/IceGlobalInits.h b/src/IceGlobalInits.h |
index 36d46129fbdb00122514dc7ea8b59ef6dd3393d4..d51d587b2e5ba6f683462f5fbf2deaf863274282 100644 |
--- a/src/IceGlobalInits.h |
+++ b/src/IceGlobalInits.h |
@@ -30,6 +30,7 @@ namespace Ice { |
/// Base class for global variable and function declarations. |
class GlobalDeclaration { |
+ GlobalDeclaration() = delete; |
GlobalDeclaration(const GlobalDeclaration &) = delete; |
GlobalDeclaration &operator=(const GlobalDeclaration &) = delete; |
@@ -89,6 +90,7 @@ protected: |
// Models a function declaration. This includes the type signature of |
// the function, its calling conventions, and its linkage. |
class FunctionDeclaration : public GlobalDeclaration { |
+ FunctionDeclaration() = delete; |
FunctionDeclaration(const FunctionDeclaration &) = delete; |
FunctionDeclaration &operator=(const FunctionDeclaration &) = delete; |