aboutsummaryrefslogtreecommitdiff
path: root/src/processor/linked_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/linked_ptr.h')
-rw-r--r--src/processor/linked_ptr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/processor/linked_ptr.h b/src/processor/linked_ptr.h
index b4c2787c..c1277dc2 100644
--- a/src/processor/linked_ptr.h
+++ b/src/processor/linked_ptr.h
@@ -53,6 +53,8 @@
#ifndef PROCESSOR_LINKED_PTR_H__
#define PROCESSOR_LINKED_PTR_H__
+namespace google_airbag {
+
// This is used internally by all instances of linked_ptr<>. It needs to be
// a non-template class because different types of linked_ptr<> can refer to
// the same object (linked_ptr<Superclass>(obj) vs linked_ptr<Subclass>(obj)).
@@ -186,4 +188,6 @@ linked_ptr<T> make_linked_ptr(T* ptr) {
return linked_ptr<T>(ptr);
}
-#endif // PROCESSOR_LINKED_PTR_H__
+} // namespace google_airbag
+
+#endif // PROCESSOR_LINKED_PTR_H__