aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcorespi/index/index_disk_dir_state.cpp
blob: ffe33d704c8f42197cfc3e04081f39414bbae512 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. 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;
}

}