ggwave : remove <initializer_list>

This commit is contained in:
Georgi Gerganov
2022-06-11 14:28:50 +03:00
parent c730124f8b
commit 8070f6db11
6 changed files with 6 additions and 29 deletions

View File

@@ -355,13 +355,6 @@ void GGWave::Protocols::only(ProtocolId id) {
data[id].enabled = true;
}
void GGWave::Protocols::only(std::initializer_list<ProtocolId> ids) {
disableAll();
for (auto id : ids) {
data[id].enabled = true;
}
}
GGWave::TxProtocols & GGWave::Protocols::tx() {
static TxProtocols protocols = kDefault();