Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lin Zhihao <[email protected]>
  • Loading branch information
gibber9809 and LinZhihao-723 authored Dec 10, 2024
1 parent 93c7d3b commit 6c3a537
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/core/src/clp/BoundedReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__);
}
Expand All @@ -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
*/
Expand Down

0 comments on commit 6c3a537

Please sign in to comment.