mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Adjust catch syntax to avoid GCC8 warnings.
This commit is contained in:
@@ -5442,7 +5442,7 @@ gnc_account_imap_find_account_bayes (GncImportMatchMap *imap, GList *tokens)
|
||||
gnc::GUID guid;
|
||||
try {
|
||||
guid = gnc::GUID::from_string(best.account_guid);
|
||||
} catch (gnc::guid_syntax_exception) {
|
||||
} catch (gnc::guid_syntax_exception&) {
|
||||
return nullptr;
|
||||
}
|
||||
auto account = xaccAccountLookup (reinterpret_cast<GncGUID*>(&guid), imap->book);
|
||||
|
||||
Reference in New Issue
Block a user