diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2014-12-05 12:18:02 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2014-12-05 12:18:02 +0100 |
commit | d98fc013878ab28cb062a4f25a45199b9ee9574a (patch) | |
tree | db0654002efbc005641771a57191ac65d1cb8912 /src/core/BufferedCharReader.hpp | |
parent | f122527f6a080a099ecd64ec069e21331491f0dc (diff) |
Made the CSSParser a valid subclass of Parser.
Diffstat (limited to 'src/core/BufferedCharReader.hpp')
-rw-r--r-- | src/core/BufferedCharReader.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/BufferedCharReader.hpp b/src/core/BufferedCharReader.hpp index ec76b03..bd19d4a 100644 --- a/src/core/BufferedCharReader.hpp +++ b/src/core/BufferedCharReader.hpp @@ -252,21 +252,21 @@ public: * * @return true if there is no more data. */ - bool atEnd(); + bool atEnd() const; /** * Returns the current line (starting with one). * * @return the current line number. */ - inline int getLine() { return readCursor.line; } + int getLine() const { return readCursor.line; } /** * Returns the current column (starting with one). * * @return the current column number. */ - inline int getColumn() { return readCursor.column; } + int getColumn() const { return readCursor.column; } }; } |