diff --git a/components/core/src/clp/BoundedReader.hpp b/components/core/src/clp/BoundedReader.hpp index 4c78186dd..4f56e811a 100644 --- a/components/core/src/clp/BoundedReader.hpp +++ b/components/core/src/clp/BoundedReader.hpp @@ -17,8 +17,8 @@ class BoundedReader : public ReaderInterface { public: // Constructor explicit BoundedReader(ReaderInterface* reader, size_t bound) - : m_reader(reader), - m_bound(bound) { + : m_reader{reader}, + m_bound{bound} { if (nullptr == m_reader) { throw ReaderInterface::OperationFailed(ErrorCode_BadParam, __FILE__, __LINE__); } @@ -31,7 +31,7 @@ class BoundedReader : public ReaderInterface { // Methods implementing the ReaderInterface /** * Tries to get the current position of the read head in the underlying reader. - * @param pos Position of the read head in the underlying reader + * @param pos Returns the position of the underlying reader's head * @return ErrorCode_Success on success * @return ErrorCode_errno on failure */