mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-05-10 16:39:41 +00:00
fix the addDBPatch method o
This commit is contained in:
parent
50dd5f5ba2
commit
5c742be29e
@ -170,7 +170,7 @@ const DBPatchMap &DataBase::dbPatches() const {
|
||||
|
||||
void DataBase::addDBPatch(const DBPatch &patch) {
|
||||
|
||||
debug_assert(_dbPatches.contains(patch.version),
|
||||
debug_assert(!_dbPatches.contains(patch.version),
|
||||
"Failed to initialise a Data base patch!");
|
||||
|
||||
_dbPatches[patch.version] = patch;
|
||||
|
Loading…
x
Reference in New Issue
Block a user