aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-31 15:04:48 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2020-04-08 13:29:33 +0000
commit3189ee5bcd897c8ae9359cd2cd819a8ed3686f40 (patch)
tree0282a3aa2663fb64dffadf5fb4e651393f52cd7f
parent2b162d357a31a1fed4cee7e50355c15c31eb3fe2 (diff)
%ud -> %u
-rw-r--r--searchcore/src/vespa/searchcore/proton/feedoperation/removedocumentsoperation.h2
-rw-r--r--searchcore/src/vespa/searchcore/proton/feedoperation/removeoperation.h2
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/docstorevalidator.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/feedoperation/removedocumentsoperation.h b/searchcore/src/vespa/searchcore/proton/feedoperation/removedocumentsoperation.h
index 2551d9a5bf3..ad058bb153d 100644
--- a/searchcore/src/vespa/searchcore/proton/feedoperation/removedocumentsoperation.h
+++ b/searchcore/src/vespa/searchcore/proton/feedoperation/removedocumentsoperation.h
@@ -18,7 +18,7 @@ protected:
void serializeLidsToRemove(vespalib::nbostream &os) const;
void deserializeLidsToRemove(vespalib::nbostream &is);
public:
- ~RemoveDocumentsOperation() { }
+ ~RemoveDocumentsOperation() override { }
void setLidsToRemove(uint32_t subDbId, const LidVectorContext::SP &lidsToRemove) {
_lidsToRemoveMap[subDbId] = lidsToRemove;
diff --git a/searchcore/src/vespa/searchcore/proton/feedoperation/removeoperation.h b/searchcore/src/vespa/searchcore/proton/feedoperation/removeoperation.h
index 8c10107d944..4839f8c8606 100644
--- a/searchcore/src/vespa/searchcore/proton/feedoperation/removeoperation.h
+++ b/searchcore/src/vespa/searchcore/proton/feedoperation/removeoperation.h
@@ -14,7 +14,7 @@ public:
RemoveOperation(const document::BucketId &bucketId,
const storage::spi::Timestamp &timestamp,
const document::DocumentId &docId);
- virtual ~RemoveOperation() {}
+ ~RemoveOperation() override {}
const document::DocumentId &getDocumentId() const { return _docId; }
virtual void serialize(vespalib::nbostream &os) const override;
virtual void deserialize(vespalib::nbostream &is,
diff --git a/searchcore/src/vespa/searchcore/proton/server/docstorevalidator.cpp b/searchcore/src/vespa/searchcore/proton/server/docstorevalidator.cpp
index db698745b6e..69afeb37277 100644
--- a/searchcore/src/vespa/searchcore/proton/server/docstorevalidator.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/docstorevalidator.cpp
@@ -125,7 +125,7 @@ void DocStoreValidator::performRemoves(FeedHandler & feedHandler, const search::
assert(metaData.valid());
document::Document::UP document = store.read(lid, repo);
assert(document);
- LOG(info, "Removing document with id %s and lid %ud with gid %s in bucket %s", document->getId().toString().c_str(), lid, metaData.gid.toString().c_str(), metaData.bucketId.toString().c_str());
+ LOG(info, "Removing document with id %s and lid %u with gid %s in bucket %s", document->getId().toString().c_str(), lid, metaData.gid.toString().c_str(), metaData.bucketId.toString().c_str());
std::unique_ptr<RemoveOperation> remove = std::make_unique<RemoveOperation>(metaData.bucketId, metaData.timestamp, document->getId());
feedHandler.performOperation(FeedToken::UP(), std::move(remove));
}