From 6c3a537a7a2ace9abf68b664e9308b1e94dc44d6 Mon Sep 17 00:00:00 2001 From: Devin Gibson Date: Tue, 10 Dec 2024 11:29:48 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Lin Zhihao <59785146+LinZhihao-723@users.noreply.github.com> --- components/core/src/clp/BoundedReader.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */