mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-03-28 20:17:11 +01:00
Do not use namespace using-directives. Use using-declarations instead.
This commit is contained in:
@@ -19,7 +19,7 @@ NetworkSettingsClass::NetworkSettingsClass()
|
||||
|
||||
void NetworkSettingsClass::init()
|
||||
{
|
||||
using namespace std::placeholders;
|
||||
using std::placeholders::_1;
|
||||
|
||||
WiFi.onEvent(std::bind(&NetworkSettingsClass::NetworkEvent, this, _1));
|
||||
setupMode();
|
||||
|
||||
Reference in New Issue
Block a user