1
0
Fork 0

silence warning

This commit is contained in:
Jan Christoph Uhde 2017-04-06 17:42:58 +02:00
parent 77da0794ce
commit b494d22e22
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ std::pair<uint64_t, uint64_t> RocksDBCounterManager::loadCounter(uint64_t object
/// the sequence number used
void RocksDBCounterManager::updateCounter(uint64_t objectId,
rocksdb::Snapshot const* snapshot,
uint64_t delta, uint64_t revisionId) {
int64_t delta, uint64_t revisionId) {
bool needsSync = false;
{
WRITE_LOCKER(guard, _rwLock);

View File

@ -73,7 +73,7 @@ class RocksDBCounterManager : Thread {
/// their total counts. Thread-Safe needs the snapshot so we know
/// the sequence number used
void updateCounter(uint64_t objectId, rocksdb::Snapshot const* snapshot,
uint64_t value1, uint64_t value2);
int64_t delta, uint64_t revisionId);
/// Thread-Safe remove a counter
void removeCounter(uint64_t objectId);