diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:51:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:51:14 +0200 |
commit | 26899a31d9a85e6ec6cfb782b0977af05e3330c1 (patch) | |
tree | 2e22074dad490a2195ef22bf2f7f6ca4ed67aa88 /xsd-frontend/parser.hxx | |
parent | 90801c5afeb37e4297076bdd5354ba41a7009a3f (diff) |
Get rid of dependency on libcult
Diffstat (limited to 'xsd-frontend/parser.hxx')
-rw-r--r-- | xsd-frontend/parser.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/xsd-frontend/parser.hxx b/xsd-frontend/parser.hxx index 2efb75f..cf8122f 100644 --- a/xsd-frontend/parser.hxx +++ b/xsd-frontend/parser.hxx @@ -9,14 +9,11 @@ #include <set> #include <memory> // std::auto_ptr -#include <cult/types.hxx> - +#include <xsd-frontend/types.hxx> #include <xsd-frontend/semantic-graph/schema.hxx> namespace XSDFrontend { - using namespace Cult::Types; - struct InvalidSchema {}; class LocationTranslator @@ -34,7 +31,7 @@ namespace XSDFrontend // typedef std::set<NarrowString> WarningSet; - class Parser: public NonCopyable + class Parser { public: ~Parser (); @@ -49,6 +46,10 @@ namespace XSDFrontend LocationTranslator&, const WarningSet& disabled); + private: + Parser (Parser const&); + Parser& operator= (Parser const&); + public: // Parse a schema file. Throws InvalidSchema in case of a failure. // |