use string pointers, no copy

This commit is contained in:
Drath Vader
2025-11-28 01:43:59 +01:00
parent 47b9572620
commit ae916d47e3
2 changed files with 4 additions and 5 deletions

View File

@@ -39,8 +39,8 @@ struct Network {
void getTimeDate(TimeDate* td);
void getDisk(Disk* disk);
void getRam(Memory* mem);
void getNetwork(Network* net, std::string device);
void detectHwmon(sysSensors* s, std::string platform);
void getNetwork(Network* net, const std::string& device);
void detectHwmon(sysSensors* s, const std::string& platform);
void updateSensors(sysSensors* s);
} // namespace sys