Remove static from inline variables

These do not need to be static in this context.  They are used to
construct a message and that's it, constexpr is better.

At the same time, change the auto on depth to int32_t, because that is
the correct API.

Change-Id: Ie2fc84eb2fee13af4c898854b822d8dbd190f5a4
Signed-off-by: Ed Tanous <edtanous@google.com>
diff --git a/example/asio-example.cpp b/example/asio-example.cpp
index a83ffea..304ceca 100644
--- a/example/asio-example.cpp
+++ b/example/asio-example.cpp
@@ -302,8 +302,8 @@
                                       "xyz.openbmc_project.ObjectMapper",
                                       "GetSubTree");
 
-    static const auto depth = 2;
-    static const std::vector<std::string> interfaces = {
+    int32_t depth = 2;
+    constexpr std::array<std::string_view, 1> interfaces{
         "xyz.openbmc_project.Sensor.Value"};
     mesg.append("/xyz/openbmc_project/Sensors", depth, interfaces);