From 44fde85b2496750b78939247d1d19a67c5b3dc71 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Nov 2016 15:24:14 +0200 Subject: C++11-compatibility fixes and improvements --- cutl/re.hxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'cutl/re.hxx') diff --git a/cutl/re.hxx b/cutl/re.hxx index b5bbdb9..176bd9d 100644 --- a/cutl/re.hxx +++ b/cutl/re.hxx @@ -9,6 +9,8 @@ #include #include + +#include #include namespace cutl @@ -17,9 +19,6 @@ namespace cutl { struct LIBCUTL_EXPORT format_base: exception { - virtual - ~format_base () throw (); - format_base (std::string const& d): description_ (d) {} std::string const& @@ -29,7 +28,7 @@ namespace cutl } virtual char const* - what () const throw (); + what () const LIBCUTL_NOTHROW_NOEXCEPT; protected: std::string description_; @@ -38,9 +37,6 @@ namespace cutl template struct basic_format: format_base { - virtual - ~basic_format () throw () {} - basic_format (std::basic_string const& e, std::string const& d) : format_base (d), regex_ (e) {} -- cgit v1.1