Skip to content

Commit 533ac6e

Browse files
committed
Add size() to LineBufferProxy
Signed-off-by: Jan Losinski <[email protected]>
1 parent f11fcf6 commit 533ac6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LineBufferProxy.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class LineBufferProxy : public Print {
5555
}
5656

5757
protected:
58+
size_t size() const { return position; }
5859
virtual void flush(const char* buff) = 0;
5960

6061
private:

0 commit comments

Comments
 (0)