bmc: use string literals instead of variables

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Iedde0738bbe3bf77fd1b63d2d45f65acc256e45c
diff --git a/bmc/buildjson.cpp b/bmc/buildjson.cpp
index 19a08a1..f817603 100644
--- a/bmc/buildjson.cpp
+++ b/bmc/buildjson.cpp
@@ -129,10 +129,9 @@
             const std::string updateType = update.at("type");
             if (updateType == "reboot")
             {
-                static constexpr auto rebootTarget = "reboot.target";
-                static constexpr auto rebootMode = "replace-irreversibly";
                 pack->update = SystemdUpdateMechanism::CreateSystemdUpdate(
-                    sdbusplus::bus::new_default(), rebootTarget, rebootMode);
+                    sdbusplus::bus::new_default(), "reboot.target",
+                    "replace-irreversibly");
             }
             else if (updateType == "fileSystemdUpdate")
             {