mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adds set(none) as alias for clear all references #207
This commit is contained in:
@@ -67,6 +67,11 @@ public:
|
||||
}
|
||||
|
||||
void set_channels(level channels) {
|
||||
if (channels == names::none) {
|
||||
clear_channels(names::all);
|
||||
return;
|
||||
}
|
||||
|
||||
scoped_lock_type lock(m_lock);
|
||||
m_dynamic_channels |= (channels & m_static_channels);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user