summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2019-08-07 21:45:12 +0200
committerMarcus Müller <marcus@hostalia.de>2019-08-09 23:04:28 +0200
commitf7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch)
treee09ab6112e02b2215b2d59ac24d3d6ea2edac745 /docs
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'docs')
-rw-r--r--[-rwxr-xr-x]docs/doxygen/other/shared_ptr_docstub.h33
-rw-r--r--docs/doxygen/other/vector_docstub.h26
2 files changed, 29 insertions, 30 deletions
diff --git a/docs/doxygen/other/shared_ptr_docstub.h b/docs/doxygen/other/shared_ptr_docstub.h
index 428dd03f1a..a9893ab04d 100755..100644
--- a/docs/doxygen/other/shared_ptr_docstub.h
+++ b/docs/doxygen/other/shared_ptr_docstub.h
@@ -1,24 +1,23 @@
-namespace boost
-{
- /*!
- * \brief shared_ptr documentation stub
- *
- * \warning
- * This isn't the real shared_ptr template. It's just enough to get doxygen
- * to draw pretty collaboration diagrams.
- *
- * An enhanced relative of scoped_ptr with reference counted copy semantics.
- * The object pointed to is deleted when the last shared_ptr pointing to it
- * is destroyed or reset.
- */
+namespace boost {
+/*!
+ * \brief shared_ptr documentation stub
+ *
+ * \warning
+ * This isn't the real shared_ptr template. It's just enough to get doxygen
+ * to draw pretty collaboration diagrams.
+ *
+ * An enhanced relative of scoped_ptr with reference counted copy semantics.
+ * The object pointed to is deleted when the last shared_ptr pointing to it
+ * is destroyed or reset.
+ */
-template<class T> class shared_ptr
+template <class T>
+class shared_ptr
{
public:
+ T* px; // contained pointer
- T * px; // contained pointer
-
-}; // shared_ptr
+}; // shared_ptr
} // namespace boost
diff --git a/docs/doxygen/other/vector_docstub.h b/docs/doxygen/other/vector_docstub.h
index 062e08d306..4308bb49b2 100644
--- a/docs/doxygen/other/vector_docstub.h
+++ b/docs/doxygen/other/vector_docstub.h
@@ -1,16 +1,16 @@
-namespace std
+namespace std {
+/*!
+ * \brief vector documentation stub
+ *
+ * \warning
+ * This isn't the real vector template. It's just enough to get doxygen
+ * to draw pretty collaboration diagrams.
+ */
+template <class T>
+class vector
{
- /*!
- * \brief vector documentation stub
- *
- * \warning
- * This isn't the real vector template. It's just enough to get doxygen
- * to draw pretty collaboration diagrams.
- */
- template<class T> class vector
- {
- public:
- T *p;
- };
+public:
+ T* p;
+};
} // namespace std