Skip to content

Commit b86ee54

Browse files
Apply suggestions from code review
Co-authored-by: davidlion <[email protected]>
1 parent b8d41db commit b86ee54

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ystdlib/io_interface/ReaderInterface.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ReaderInterface {
2727
// Destructor
2828
virtual ~ReaderInterface() = default;
2929

30-
// Methods implementing ReaderInterface
30+
// Methods
3131
/*
3232
* Reads up to the given number of bytes from the underlying medium into the given buffer.
3333
* @param buf
@@ -67,7 +67,6 @@ class ReaderInterface {
6767
*/
6868
[[nodiscard]] virtual auto read_string(size_t str_length, std::string& str) -> ErrorCode;
6969

70-
// Methods implementing general stream interface
7170
/**
7271
* Seeks from the beginning to the given position.
7372
* @param pos
@@ -83,7 +82,7 @@ class ReaderInterface {
8382
[[nodiscard]] virtual auto seek_from_current(off_t offset) -> ErrorCode = 0;
8483

8584
/**
86-
* @param pos Returns the current position of the stream pointer.
85+
* @param pos Returns the current position of the read pointer.
8786
*/
8887
[[nodiscard]] virtual auto get_pos(size_t& pos) -> ErrorCode = 0;
8988
};

0 commit comments

Comments
 (0)