diff --git a/smocore/deviceManager/deviceSpecParser.cpp b/smocore/deviceManager/deviceSpecParser.cpp index 161eb0b..fead45b 100644 --- a/smocore/deviceManager/deviceSpecParser.cpp +++ b/smocore/deviceManager/deviceSpecParser.cpp @@ -13,7 +13,7 @@ namespace smo { namespace device { -std::string DeviceManager::readDeviceFile(const std::string& filename) +std::string DeviceManager::readDeviceSpecFile(const std::string& filename) { std::ifstream file(filename); if (!file.is_open()) @@ -37,7 +37,7 @@ void DeviceManager::collateAllDeviceSpecs(void) for (const auto& file : options.deviceSpecFiles) { - std::string fileContent = readDeviceFile(file); + std::string fileContent = readDeviceSpecFile(file); if (!allDeviceSpecs.empty()) { allDeviceSpecs += "||"; } diff --git a/smocore/include/deviceManager/deviceManager.h b/smocore/include/deviceManager/deviceManager.h index 5919f3b..e685c93 100644 --- a/smocore/include/deviceManager/deviceManager.h +++ b/smocore/include/deviceManager/deviceManager.h @@ -21,7 +21,7 @@ public: return instance; } - std::string readDeviceFile(const std::string& filename); + std::string readDeviceSpecFile(const std::string& filename); void collateAllDeviceSpecs(void); void parseAllDeviceSpecs(void); static const std::string stringifyDeviceSpecs(void);