Commit 4eb7ffdb authored by David Renshaw's avatar David Renshaw

get this to compile with g++-mp-4.8

parent 3c4e9c55
...@@ -211,7 +211,7 @@ private: ...@@ -211,7 +211,7 @@ private:
class Compiler::Impl: public SchemaLoader::LazyLoadCallback { class Compiler::Impl: public SchemaLoader::LazyLoadCallback {
public: public:
Impl(); Impl();
virtual ~Impl(); virtual ~Impl() noexcept(false);
uint64_t add(const Module& module, Mode mode) const; uint64_t add(const Module& module, Mode mode) const;
kj::Maybe<uint64_t> lookup(uint64_t parent, kj::StringPtr childName) const; kj::Maybe<uint64_t> lookup(uint64_t parent, kj::StringPtr childName) const;
......
...@@ -56,7 +56,7 @@ class Compiler { ...@@ -56,7 +56,7 @@ class Compiler {
public: public:
Compiler(); Compiler();
~Compiler(); ~Compiler() noexcept(false);
KJ_DISALLOW_COPY(Compiler); KJ_DISALLOW_COPY(Compiler);
enum Mode { enum Mode {
......
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
// `orphanage` is used to allocate Cap'n Proto message objects in the result. `inputStart` is // `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. // a pointer to the beginning of the input, used to compute byte offsets.
~Lexer(); ~Lexer() noexcept(false);
class ParserInput: public kj::parse::IteratorInput<char, const char*> { class ParserInput: public kj::parse::IteratorInput<char, const char*> {
// Like IteratorInput<char, const char*> except that positions are measured as byte offsets // Like IteratorInput<char, const char*> except that positions are measured as byte offsets
......
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
KJ_DISALLOW_COPY(ModuleLoader); KJ_DISALLOW_COPY(ModuleLoader);
~ModuleLoader(); ~ModuleLoader() noexcept(false);
void addImportPath(kj::String path); void addImportPath(kj::String path);
// Add a directory to the list of paths that is searched for imports that start with a '/'. // Add a directory to the list of paths that is searched for imports that start with a '/'.
......
...@@ -52,7 +52,7 @@ public: ...@@ -52,7 +52,7 @@ public:
// `orphanage` is used to allocate Cap'n Proto message objects in the result. `inputStart` is // `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. // a pointer to the beginning of the input, used to compute byte offsets.
~CapnpParser(); ~CapnpParser() noexcept(false);
KJ_DISALLOW_COPY(CapnpParser); KJ_DISALLOW_COPY(CapnpParser);
......
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