gnucash master: Remove obsolete throw specifications.
John Ralls
jralls at code.gnucash.org
Thu Jul 20 18:36:54 EDT 2017
Updated via https://github.com/Gnucash/gnucash/commit/bc646b54 (commit)
from https://github.com/Gnucash/gnucash/commit/3efd063a (commit)
commit bc646b54ed11329a1287f714da8806309caa28fe
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jul 20 15:36:43 2017 -0700
Remove obsolete throw specifications.
C++11 deprecates throw specifications.
diff --git a/src/libqof/qof/guid.cpp b/src/libqof/qof/guid.cpp
index 85eab23..e939ac8 100644
--- a/src/libqof/qof/guid.cpp
+++ b/src/libqof/qof/guid.cpp
@@ -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
{
diff --git a/src/libqof/qof/guid.hpp b/src/libqof/qof/guid.hpp
index 65d8f88..db6e4dc 100644
--- a/src/libqof/qof/guid.hpp
+++ b/src/libqof/qof/guid.hpp
@@ -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 ());
Summary of changes:
src/libqof/qof/guid.cpp | 2 +-
src/libqof/qof/guid.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list