aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/reference/i_gid_to_lid_change_handler.cpp
blob: 6290c7d0b3e89505ee25721f07df90c6326d620b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "i_gid_to_lid_change_handler.h"
#include <vespa/document/base/globalid.h>
namespace proton {

IGidToLidChangeHandler::~IGidToLidChangeHandler() = default;

void
IGidToLidChangeHandler::notifyRemove(IDestructorCallbackSP context, GlobalId gid, SerialNum serialNum) {
    std::vector<GlobalId> gids;
    gids.push_back(gid);
    notifyRemoves(std::move(context), gids, serialNum);
}

}