Files
scylla/db/read_repair_decision.hh
Avi Kivity 5937b1fa23 treewide: remove empty comments in top-of-files
After fcb8d040 ("treewide: use Software Package Data Exchange
(SPDX) license identifiers"), many dual-licensed files were
left with empty comments on top. Remove them to avoid visual
noise.

Closes #10562
2022-05-13 07:11:58 +02:00

34 lines
624 B
C++

/*
* Copyright (C) 2015-present ScyllaDB
*
* Modified by ScyllaDB
*/
/*
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
*/
#pragma once
#include <iostream>
namespace db {
enum class read_repair_decision {
NONE,
GLOBAL,
DC_LOCAL
};
inline std::ostream& operator<<(std::ostream& out, db::read_repair_decision d) {
switch (d) {
case db::read_repair_decision::NONE: out << "NONE"; break;
case db::read_repair_decision::GLOBAL: out << "GLOBAL"; break;
case db::read_repair_decision::DC_LOCAL: out << "DC_LOCAL"; break;
default: out << "ERR"; break;
}
return out;
}
}