summaryrefslogtreecommitdiff
path: root/Source/Core/Common/CodeBlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/CodeBlock.h')
-rw-r--r--Source/Core/Common/CodeBlock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/CodeBlock.h b/Source/Core/Common/CodeBlock.h
index 97a2c06ad0..19fc6be433 100644
--- a/Source/Core/Common/CodeBlock.h
+++ b/Source/Core/Common/CodeBlock.h
@@ -11,6 +11,8 @@
#include "Common/CommonTypes.h"
#include "Common/MemoryUtil.h"
+namespace Common
+{
// Everything that needs to generate code should inherit from this.
// You get memory management for free, plus, you can use all emitter functions without
// having to prefix them with gen-> or something similar.
@@ -116,3 +118,4 @@ public:
m_children.emplace_back(child);
}
};
+} // namespace Common