mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-28 09:39:11 +03:00
minor std::string optimizations
This commit is contained in:
@@ -201,7 +201,7 @@ class System {
|
||||
return hostname_;
|
||||
}
|
||||
|
||||
void hostname(std::string hostname) {
|
||||
void hostname(const std::string hostname) {
|
||||
hostname_ = hostname;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user