Made Stream members protected again.

This commit is contained in:
Patrick Lühne 2016-08-03 00:28:22 +02:00
parent 544d4e0635
commit d7b47797df
2 changed files with 4 additions and 2 deletions

View File

@ -33,6 +33,9 @@ struct Tag
template<class ParserPolicy = CaseSensitiveParserPolicy>
class Parser: public Stream, public ParserPolicy
{
template<class OtherParserPolicy>
friend class Parser;
public:
explicit Parser();
explicit Parser(std::string streamName, std::istream &istream);

View File

@ -70,8 +70,7 @@ class Stream
void check() const;
// TODO: make protected again
//protected:
protected:
mutable std::stringstream m_stream;
std::vector<Delimiter> m_delimiters;