[EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method.

This commit is contained in:
Przemyslaw Brudny
2020-10-12 15:06:14 +02:00
committed by PrzeBrudny
parent 491e4fb795
commit 0eb1fd03e5
27 changed files with 37 additions and 57 deletions

View File

@@ -26,7 +26,7 @@ void NotesModel::requestRecords(const uint32_t offset, const uint32_t limit)
DBServiceAPI::NotesGetLimitOffset(application, offset, limit);
}
bool NotesModel::updateRecords(std::unique_ptr<std::vector<NotesRecord>> records)
bool NotesModel::updateRecords(std::vector<NotesRecord> records)
{
#if DEBUG_DB_MODEL_DATA == 1
LOG_DEBUG("Offset: %" PRIu32 ", Limit: %" PRIu32 " Count: %" PRIu32 "", offset, limit, count);