Skip to content

Commit

Permalink
[qtcontacts] Correct header file method signatures. Fixes MER#1498
Browse files Browse the repository at this point in the history
  • Loading branch information
ghosalmartin committed Mar 20, 2016
1 parent 9b2950d commit f8790ed
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion src/engine/contactstransientstore.cpp
Expand Up @@ -579,7 +579,7 @@ void SharedMemoryManager::release(int index) const
}
}

ContactsTransientStore::const_iterator::const_iterator(const MemoryTable *table, size_t position)
ContactsTransientStore::const_iterator::const_iterator(const MemoryTable *table, quint32 position)
: MemoryTable::const_iterator(table, position)
{
}
Expand Down
4 changes: 2 additions & 2 deletions src/engine/memorytable.cpp
Expand Up @@ -338,7 +338,7 @@ quint32 MemoryTablePrivate::allocate(quint32 size, TableMetadata *table, bool in

// Align the allocation so that the header is directly accessible
quint32 allocationSize = static_cast<quint32>(requiredSpace(size));
allocationSize = roundUp(allocationSize, sizeof(quint32));
allocationSize = roundUp(allocationSize, static_cast<quint32>(sizeof(quint32)));

if (table->freeList) {
// Try to reuse a freed block
Expand Down Expand Up @@ -528,7 +528,7 @@ MemoryTable::Error MemoryTable::migrateTo(MemoryTable &other) const
return MemoryTablePrivate::migrateTo(MemoryTablePrivate::metadata(&other), MemoryTablePrivate::metadata(this));
}

MemoryTable::const_iterator::const_iterator(const MemoryTable *table, size_t position)
MemoryTable::const_iterator::const_iterator(const MemoryTable *table, quint32 position)
: table(table)
, position(position)
{
Expand Down

0 comments on commit f8790ed

Please sign in to comment.