From bbc39ffe31c67506b4c03fc56fa3adcb925b6325 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 3 Jun 2015 21:35:43 +0200 Subject: Remove gratuitous classes In the process also get rid of global class processor which conflicts with enum processor on MIPS. --- odb/validator.hxx | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to 'odb/validator.hxx') diff --git a/odb/validator.hxx b/odb/validator.hxx index f913049..3ffa470 100644 --- a/odb/validator.hxx +++ b/odb/validator.hxx @@ -9,25 +9,15 @@ #include #include -class validator -{ -public: - struct failed {}; +class validator_failed {}; - // The first pass is performed before processing. The second -- after. - // - void - validate (options const&, - features&, - semantics::unit&, - semantics::path const&, - unsigned short pass); - - validator () {} - -private: - validator (validator const&); - validator& operator= (validator const&); -}; +// The first pass is performed before processing. The second -- after. +// +void +validate (options const&, + features&, + semantics::unit&, + semantics::path const&, + unsigned short pass); #endif // ODB_VALIDATOR_HXX -- cgit v1.1