Index: src/IceTranslator.h |
diff --git a/src/IceTranslator.h b/src/IceTranslator.h |
index 8134697e60fab24402289161ebc5be165e805627..9aa56aaec8e3cfd4d44d45cccd9c3c3ad3cbc717 100644 |
--- a/src/IceTranslator.h |
+++ b/src/IceTranslator.h |
@@ -32,6 +32,9 @@ class GlobalContext; |
// other intermediate representations down to ICE, and then call the appropriate |
// (inherited) methods to convert ICE into machine instructions. |
class Translator { |
+ Translator(const Translator &) = delete; |
+ Translator &operator=(const Translator &) = delete; |
+ |
public: |
typedef std::vector<VariableDeclaration *> VariableDeclarationListType; |
@@ -81,11 +84,8 @@ protected: |
// GlobalContext instead of Cfg, and then make emitConstantPool use |
// that. |
std::unique_ptr<Cfg> Func; |
- |
-private: |
- Translator(const Translator &) = delete; |
- Translator &operator=(const Translator &) = delete; |
}; |
-} |
+ |
+} // end of namespace Ice |
#endif // SUBZERO_SRC_ICETRANSLATOR_H |