This commit is contained in:
MichaelDvP
2024-09-16 13:48:18 +02:00
42 changed files with 407 additions and 619 deletions

View File

@@ -369,7 +369,7 @@ std::string DeviceValue::get_fullname() const {
return customname;
}
std::string DeviceValue::get_name(std::string & entity) {
std::string DeviceValue::get_name(const std::string & entity) {
auto pos = entity.find('|');
if (pos != std::string::npos) {
return entity.substr(2, pos - 2);