common: make Software::objectPath const

Software::objectPath is initialized in the constructor and should not be
modified later on.

Can also be protected instead of public.

Tested: Inspection only.

Change-Id: I9404fc46b6d039d7a7e96ebb232e34ee0aa978e8
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/common/src/software.cpp b/common/src/software.cpp
index 1554b05..a82c711 100644
--- a/common/src/software.cpp
+++ b/common/src/software.cpp
@@ -28,7 +28,7 @@
     SoftwareActivation(ctx, (baseObjPathSoftware + swid).c_str(),
                        Activation::properties_t{Activations::NotReady,
                                                 RequestedActivations::None}),
-    objectPath(baseObjPathSoftware + swid), parentDevice(parent), swid(swid),
+    parentDevice(parent), swid(swid), objectPath(baseObjPathSoftware + swid),
     ctx(ctx)
 {
     std::string objPath = baseObjPathSoftware + swid;