* include/bits/shared_ptr.h: Add include guards.
* include/tr1/shared_ptr.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144778
138bc75d-0d04-0410-961f-
82ee72b054a4
2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
+ * include/bits/shared_ptr.h: Add include guards.
+ * include/tr1/shared_ptr.h: Likewise.
+
+2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
+
* include/std/iostream: Fix doxygen link.
* include/bits/forward_list.h: Fix doxygen markup.
* include/ext/vstring.h: Escape backslash in doxygen comment.
* You should not attempt to use it directly.
*/
+#ifndef _SHARED_PTR_H
+#define _SHARED_PTR_H 1
+
#ifndef __GXX_EXPERIMENTAL_CXX0X__
# include <c++0x_warning.h>
#endif
// @} group pointer_abstractions
_GLIBCXX_END_NAMESPACE
+
+#endif // _SHARED_PTR_H
* You should not attempt to use it directly.
*/
+#ifndef _TR1_SHARED_PTR_H
+#define _TR1_SHARED_PTR_H 1
+
#if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
# error TR1 header cannot be included from C++0x header
#endif
}
}
+
+#endif // _TR1_SHARED_PTR_H