Skip to content

Commit f9af319

Browse files
misc clean up
1 parent e54a2d3 commit f9af319

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cpputest-for-qpcpp-lib/include/cmsOrthogonalComponent.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
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

3131
namespace 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;

cpputest-for-qpcpp-lib/include/qevtUniquePtr.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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/

cpputest-for-qpcpp-lib/src/cms_cpputest_q_onAssert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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.

0 commit comments

Comments
 (0)