cleanup: use const reference passing string
[presence/main.cpp:21]: (performance) Function parameter 'driverString' should
be passed by const reference.
Change-Id: I024e1622b03a3f2ac3487051bdd8f7e3b403639d
Signed-off-by: Patrick Venture <venture@google.com>
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 @@
*
* @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};