Skip to content

Commit

Permalink
Remove obsolete throw specifications.
Browse files Browse the repository at this point in the history
C++11 deprecates throw specifications.
  • Loading branch information
jralls committed Jul 20, 2017
1 parent 3efd063 commit bc646b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libqof/qof/guid.cpp
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/libqof/qof/guid.hpp
Expand Up @@ -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 ());
Expand Down

0 comments on commit bc646b5

Please sign in to comment.