Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 1297:501432928727
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 14:35:56 +0100 |
parents | 910478b2d4e4 |
children | 4ce47e8ed0d2 |
comparison
equal
deleted
inserted
replaced
1296:179a3049b942 | 1297:501432928727 |
---|---|
439 return false; | 439 return false; |
440 } | 440 } |
441 } | 441 } |
442 | 442 |
443 | 443 |
444 void ServerIndex::LogChange(int64_t internalId, | |
445 ChangeType changeType, | |
446 ResourceType resourceType, | |
447 const std::string& publicId) | |
448 { | |
449 ServerIndexChange change(changeType, resourceType, publicId); | |
450 db_.LogChange(internalId, change); | |
451 } | |
452 | |
444 | 453 |
445 uint64_t ServerIndex::IncrementGlobalSequenceInternal(GlobalProperty property) | 454 uint64_t ServerIndex::IncrementGlobalSequenceInternal(GlobalProperty property) |
446 { | 455 { |
447 std::string oldValue; | 456 std::string oldValue; |
448 | 457 |