Commit c088dd95 authored by Kenton Varda's avatar Kenton Varda

Work around weird behavior in GCC 4.8 where it thinks this destructor's…

Work around weird behavior in GCC 4.8 where it thinks this destructor's declaration and definition hase mismatching noexcept specs even though neither one has a noexcept spec at all.
parent 3c4e9c55
......@@ -269,7 +269,5 @@ Lexer::Lexer(Orphanage orphanageParam, const ErrorReporter& errorReporterParam)
parsers.emptySpace = commentsAndWhitespace;
}
Lexer::~Lexer() {}
} // namespace compiler
} // namespace capnp
......@@ -53,8 +53,6 @@ public:
// `orphanage` is used to allocate Cap'n Proto message objects in the result. `inputStart` is
// a pointer to the beginning of the input, used to compute byte offsets.
~Lexer();
class ParserInput: public kj::parse::IteratorInput<char, const char*> {
// Like IteratorInput<char, const char*> except that positions are measured as byte offsets
// rather than pointers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment