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

#include "index_disk_dir_state.h"
#include <cassert>

namespace searchcorespi::index {

void
IndexDiskDirState::deactivate() noexcept
{
    assert(_active_count > 0u);
    --_active_count;
}

}