diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-03 21:35:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-03 21:35:43 +0200 |
commit | bbc39ffe31c67506b4c03fc56fa3adcb925b6325 (patch) | |
tree | cdc3e2bb6f66edab684ee184a28c35727246f448 /odb/generator.hxx | |
parent | f0bbc17aeed1b636782a4b92e8191d90f310d0a2 (diff) |
Remove gratuitous classes
In the process also get rid of global class processor which conflicts
with enum processor on MIPS.
Diffstat (limited to 'odb/generator.hxx')
-rw-r--r-- | odb/generator.hxx | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/odb/generator.hxx b/odb/generator.hxx index ce49295..e83d94d 100644 --- a/odb/generator.hxx +++ b/odb/generator.hxx @@ -11,23 +11,13 @@ #include <odb/features.hxx> #include <odb/semantics/unit.hxx> -class generator -{ -public: - class failed {}; - - void - generate (options const&, - features&, - semantics::unit&, - semantics::path const& file, - std::vector<semantics::path> const& inputs); - - generator () {} - -private: - generator (generator const&); - generator& operator= (generator const&); -}; +class generator_failed {}; + +void +generate (options const&, + features&, + semantics::unit&, + semantics::path const& file, + std::vector<semantics::path> const& inputs); #endif // ODB_GENERATOR_HXX |