mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +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