aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storageapi/message/removelocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/vespa/storageapi/message/removelocation.cpp')
-rw-r--r--storage/src/vespa/storageapi/message/removelocation.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/storage/src/vespa/storageapi/message/removelocation.cpp b/storage/src/vespa/storageapi/message/removelocation.cpp
index 7b7ed894b2c..5d558c5e305 100644
--- a/storage/src/vespa/storageapi/message/removelocation.cpp
+++ b/storage/src/vespa/storageapi/message/removelocation.cpp
@@ -11,15 +11,17 @@ IMPLEMENT_REPLY(RemoveLocationReply)
RemoveLocationCommand::RemoveLocationCommand(vespalib::stringref documentSelection,
const document::Bucket &bucket)
: BucketInfoCommand(MessageType::REMOVELOCATION, bucket),
- _documentSelection(documentSelection)
+ _documentSelection(documentSelection),
+ _explicit_remove_set(),
+ _only_enumerate_docs(false)
{}
-RemoveLocationCommand::~RemoveLocationCommand() {}
+RemoveLocationCommand::~RemoveLocationCommand() = default;
void
RemoveLocationCommand::print(std::ostream& out, bool verbose, const std::string& indent) const
{
- if (_documentSelection.length()) {
+ if (!_documentSelection.empty()) {
out << "Remove selection(" << _documentSelection << "): ";
}
BucketInfoCommand::print(out, verbose, indent);