From bef8ac3c3489589fa84c7b9d69585fb6fd771c3f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 9 Oct 2009 19:30:00 +0200 Subject: Use class keyword consistently --- cutl/fs/path.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cutl/fs/path.hxx b/cutl/fs/path.hxx index 139a3cc..9dda562 100644 --- a/cutl/fs/path.hxx +++ b/cutl/fs/path.hxx @@ -29,15 +29,17 @@ namespace cutl // // - struct invalid_path_base: exception + class invalid_path_base: exception { + public: virtual char const* what () const throw (); }; template - struct invalid_basic_path: invalid_path_base + class invalid_basic_path: public invalid_path_base { + public: typedef std::basic_string string_type; invalid_basic_path (C const* p): path_ (p) {} -- cgit v1.1