File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 25
25
#ifndef CMS_ORTHOGONAL_COMPONENT_HPP
26
26
#define CMS_ORTHOGONAL_COMPONENT_HPP
27
27
28
- #include < assert.h >
28
+ #include < cassert >
29
29
#include " qpcpp.hpp"
30
30
31
31
namespace cms {
@@ -89,7 +89,7 @@ class OrthogonalComponent : public QP::QHsm {
89
89
// / this method, where it will subscribe
90
90
// / to all published signals of interest
91
91
// / to the component, using the available
92
- // / ' m_container' active object context.
92
+ // / m_container active object context.
93
93
virtual void subscribe () = 0;
94
94
95
95
QP::QActive* m_container;
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ namespace cms {
31
31
32
32
// / I love a nice RAII pattern, such as std::unique_ptr.
33
33
// / A QEvt may have been allocated from an event pool, which must be
34
- // / garbage collected. This is easy to forget, and is therefore more error
35
- // / prone, especially when deferring events or recording events. This
34
+ // / garbage collected. This is easy to forget, and is therefore more
35
+ // / error- prone, especially when deferring events or recording events. This
36
36
// / class helps guarantee that the event is appropriately garbage collected.
37
37
// /
38
38
// / https://covemountainsoftware.com/2019/11/26/why-i-prefer-c-raii-all-the-things/
Original file line number Diff line number Diff line change 1
1
// / @brief Provides an implementation of the required QP function
2
- // / Q_onAssert(..).
2
+ // / Q_onAssert(... ).
3
3
// / This implementation uses cpputest mock and the TEST_EXIT macro
4
4
// / which throws an exception. This will generally not work in most
5
5
// / of QP, as most methods are marked noexcept.
You can’t perform that action at this time.
0 commit comments