aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/parser.hxx')
-rw-r--r--xsd-frontend/parser.hxx11
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.
//