-public:
- virtual ~PARSER() {}
- virtual int ParseStart(const char * el, const char ** attr) = 0;
- virtual void ParseEnd(const char * el) = 0;
- virtual void Failure(const std::string & reason) = 0;
+ virtual ~Parser() = default;
+
+ virtual int ParseStart(const char* el, const char** attr) = 0;
+ virtual void ParseEnd(const char* el) = 0;
+ virtual void Failure(const std::string& reason) = 0;