Remove obsolete throw specifications.

C++11 deprecates throw specifications.
This commit is contained in:
John Ralls 2017-07-20 15:36:43 -07:00
parent 3efd063a08
commit bc646b54ed
2 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ GUID::to_string () const noexcept
}
GUID
GUID::from_string (std::string const & str) throw (guid_syntax_exception)
GUID::from_string (std::string const & str)
{
try
{

View File

@ -49,7 +49,7 @@ struct GUID
operator GncGUID () const noexcept;
static GUID create_random () noexcept;
static GUID const & null_guid () noexcept;
static GUID from_string (std::string const &) throw (guid_syntax_exception);
static GUID from_string (std::string const &);
std::string to_string () const noexcept;
auto begin () const noexcept -> decltype (implementation.begin ());
auto end () const noexcept -> decltype (implementation.end ());