summaryrefslogtreecommitdiffstats
path: root/presence/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'presence/main.cpp')
-rw-r--r--presence/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/presence/main.cpp b/presence/main.cpp
index 0d25081..1eaa18b 100644
--- a/presence/main.cpp
+++ b/presence/main.cpp
@@ -18,7 +18,7 @@ using namespace phosphor::gpio::presence;
*
* @return int - 0 if successful, < 0 else
*/
-static int getDrivers(const std::string driverString,
+static int getDrivers(const std::string& driverString,
std::vector<Driver>& drivers)
{
std::istringstream stream{driverString};
OpenPOWER on IntegriCloud