commit | cd4e6ca4aeac75c47359a7bde16e72356879a1db | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Feb 06 19:43:52 2023 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 16:55:17 2023 +1030 |
tree | daab41bd6718fd658908a08f2be892f57a9fbdf0 | |
parent | 36a8e8408eb9f6d82eee75415684aac965ad802a [diff] |
sysfs: Fix performance-move-const-arg ``` /home/andrew/src/openbmc/phosphor-led-sysfs/build/../sysfs.cpp:44:53: error: std::move of the const variable 'path' has no effect; remove std::move() or make the variable non-const [performance-move-const-arg,-warnings-as-errors] std::string content = getSysfsAttr<std::string>(std::move(path)); ^~~~~~~~~~ ~ ``` Change-Id: I1fd99b58adac8cebecda64166a6929ad6885c366 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>