Pass char* to mapper GetObject

Now that openbmc/openbmc#1025 is fixed, mapper's GetObject method can be
provided char* type arguments. Previously they had to be converted to
std::string to work around bug 1025.

Resolves openbmc/openbmc#1131.

Change-Id: I3f8a8809a17e866044959989d49ca32e16a8021c
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/utils.cpp b/utils.cpp
index 168f89f..57cba0a 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -50,8 +50,8 @@
         auto bus = sdbusplus::bus::new_default();
         auto pimMsg = bus.new_method_call(
                               service.c_str(),
-                              pimPath.c_str(),
-                              pimIntf.c_str(),
+                              pimPath,
+                              pimIntf,
                               "Notify");
         pimMsg.append(std::move(objects));
         auto result = bus.call(pimMsg);