Use const& in getAllProperties callback

Tested: Compiles against latest sdbusplus a6c05b8

Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
Change-Id: I88d725e42948a7b27c2cd08516b4b7f9f052864f
diff --git a/service/src/mainapp.cpp b/service/src/mainapp.cpp
index 65bea78..54bdf33 100644
--- a/service/src/mainapp.cpp
+++ b/service/src/mainapp.cpp
@@ -231,7 +231,7 @@
         "xyz.openbmc_project.PFR.LastEvents",
         [conn](
             boost::system::error_code ec,
-            std::vector<
+            const std::vector<
                 std::pair<std::string, std::variant<std::monostate, uint8_t>>>&
                 properties) {
             if (ec)