Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'test2' into 'master'
Browse files Browse the repository at this point in the history
[qtcontacts] Correct header file method signatures. Fixes MER#1498



See merge request !2
  • Loading branch information
faenil committed Mar 21, 2016
2 parents 5856516 + f8790ed commit 1d98870
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 1d98870

Please sign in to comment.