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 2525#ifndef CMS_ORTHOGONAL_COMPONENT_HPP
2626#define CMS_ORTHOGONAL_COMPONENT_HPP
2727
28- #include < assert.h >
28+ #include < cassert >
2929#include " qpcpp.hpp"
3030
3131namespace cms {
@@ -89,7 +89,7 @@ class OrthogonalComponent : public QP::QHsm {
8989 // / this method, where it will subscribe
9090 // / to all published signals of interest
9191 // / to the component, using the available
92- // / ' m_container' active object context.
92+ // / m_container active object context.
9393 virtual void subscribe () = 0;
9494
9595 QP::QActive* m_container;
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ namespace cms {
3131
3232// / I love a nice RAII pattern, such as std::unique_ptr.
3333// / 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
3636// / class helps guarantee that the event is appropriately garbage collected.
3737// /
3838// / https://covemountainsoftware.com/2019/11/26/why-i-prefer-c-raii-all-the-things/
Original file line number Diff line number Diff line change 11// / @brief Provides an implementation of the required QP function
2- // / Q_onAssert(..).
2+ // / Q_onAssert(... ).
33// / This implementation uses cpputest mock and the TEST_EXIT macro
44// / which throws an exception. This will generally not work in most
55// / of QP, as most methods are marked noexcept.
You can’t perform that action at this time.
0 commit comments