use string pointers, no copy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user