mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-08 10:18:02 +08:00
ggwave : remove <initializer_list>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user