diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-09 19:30:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-09 19:30:00 +0200 |
commit | bef8ac3c3489589fa84c7b9d69585fb6fd771c3f (patch) | |
tree | 1a35425329b21133dc75e196646ea1cd39cc9f90 /cutl/fs | |
parent | b7364cbf0f650c938adf649f4aff5e09fa01b328 (diff) |
Use class keyword consistently
Diffstat (limited to 'cutl/fs')
-rw-r--r-- | cutl/fs/path.hxx | 6 |
1 files 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 <typename C> - struct invalid_basic_path: invalid_path_base + class invalid_basic_path: public invalid_path_base { + public: typedef std::basic_string<C> string_type; invalid_basic_path (C const* p): path_ (p) {} |