Skip to content

Commit 3530830

Browse files
dmcppcheckclaude
andcommitted
Fix clang-tidy misc-override-with-different-visibility warnings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a871e99 commit 3530830

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎simplecpp.cpp‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,11 @@ class simplecpp::TokenList::Stream {
295295
public:
296296
virtual ~Stream() = default;
297297

298+
virtual int get() = 0;
299+
virtual int peek() = 0;
300+
virtual void unget() = 0;
301+
virtual bool good() = 0;
302+
298303
/**
299304
* Read the next character. CR and CR LF are returned as LF.
300305
* At the end of the input, EOF converted to unsigned char is returned
@@ -342,11 +347,6 @@ class simplecpp::TokenList::Stream {
342347
}
343348

344349
protected:
345-
virtual int get() = 0;
346-
virtual int peek() = 0;
347-
virtual void unget() = 0;
348-
virtual bool good() = 0;
349-
350350
void init() {
351351
// initialize since we use peek() in getAndSkipBOM()
352352
isUtf16 = false;

0 commit comments

Comments
 (0)