all: update for API changes (config etc.)

Use the new & improved APIs.
This commit is contained in:
Dirk-Jan C. Binnema
2023-07-01 18:20:51 +03:00
parent 2acc1c2271
commit c6fff6a281
16 changed files with 72 additions and 67 deletions

View File

@ -69,6 +69,8 @@ struct Error final : public std::exception {
UnverifiedSignature = err_enum(119,1,0),
User = err_enum(120,1,0),
Xapian = err_enum(121,1,0),
CannotReinit = err_enum(122,1,0),
};
/**

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2019-2020 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2019-2023 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -134,8 +134,6 @@ Err(Error::Code errcode, GError **err, const char* frm, ...)
return Err(errcode, std::move(str));
}
/**
* Assert that some result has a value (for unit tests)
*
@ -150,8 +148,6 @@ Err(Error::Code errcode, GError **err, const char* frm, ...)
} \
} while(0)
}// namespace Mu
#endif /* MU_RESULT_HH__ */