Style changes in item_updater.cpp

Style changes only.

Change-Id: I87160818978bbc587ae4b4b5f6ff7ca379a4aa02
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/item_updater.cpp b/item_updater.cpp
index bb361f7..1cafb03 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -153,7 +153,7 @@
 
     // Read os-release from folders under /media/ to get
     // BMC Software Versions.
-    for(const auto& iter : fs::directory_iterator(MEDIA_DIR))
+    for (const auto& iter : fs::directory_iterator(MEDIA_DIR))
     {
         auto activationState = server::Activation::Activations::Active;
         static const auto BMC_RO_PREFIX_LEN = strlen(BMC_ROFS_PREFIX);
@@ -257,14 +257,12 @@
     // and create rofs-<versionId> under /media
     if (activations.size() == 0)
     {
-        auto version =
-                phosphor::software::manager::Version::
-                        getBMCVersion(OS_RELEASE_FILE);
+        auto version = VersionClass::getBMCVersion(OS_RELEASE_FILE);
         auto id = phosphor::software::manager::Version::getId(version);
         auto versionFileDir = BMC_ROFS_PREFIX + id + "/etc/";
         try
         {
-            if(!fs::is_directory(versionFileDir))
+            if (!fs::is_directory(versionFileDir))
             {
                 fs::create_directories(versionFileDir);
             }
@@ -291,7 +289,7 @@
             log<level::ERR>(("Error: Version " + entryId + \
                              " is currently running on the BMC." \
                              " Unable to remove.").c_str());
-             return;
+            return;
         }
 
         // Delete ReadOnly partitions if it's not active
@@ -571,7 +569,7 @@
 {
     for (const auto& intf : activations)
     {
-        if(intf.second->redundancyPriority)
+        if (intf.second->redundancyPriority)
         {
             if (intf.second->redundancyPriority.get()->priority() < value)
             {