Remove dead code

This commit is contained in:
Alex Beregszaszi 2021-05-13 19:39:05 +01:00
parent d82adccc8f
commit 65c262d744

View File

@ -92,11 +92,11 @@ private:
char scanHexPart();
private:
/// Advances current position in the input stream.
void advance(unsigned n = 1)
/// Advances current position by 1 in the input stream.
void advance()
{
solAssert(m_char != m_source.end(), "Cannot advance beyond end.");
m_char = std::next(m_char, n);
m_char = std::next(m_char, 1);
}
/// Returns the current character or '\0' if at end of input.
@ -112,9 +112,6 @@ private:
/// without advancing the input stream iterator.
char peek() const noexcept;
/// Returns true if the end of a line is reached, false otherwise.
bool isEndOfLine() const { return m_char == m_source.end(); }
std::string m_source;
std::string::const_iterator m_char;