use pointers to strings
This commit is contained in:
@@ -43,7 +43,7 @@ struct gpuSensors {
|
||||
// uint64_t vram_total = 0;
|
||||
};
|
||||
|
||||
void detectHwmon(gpuSensors* target, std::string pci);
|
||||
void detectHwmon(gpuSensors* target, const std::string& pci);
|
||||
void update(gpuSensors* g);
|
||||
|
||||
} // namespace gpu
|
||||
|
||||
Reference in New Issue
Block a user