build: Apply fixes to accommodate build system updates
- Fixes clang-format changes for version 6 -> 8
- Fixes possible strncpy trunction error
- Fix for an optional std::variant behavior changed in gcc9
Change-Id: I80fe43b261e9b17ba662f17ea2854bd1fb6f1d61
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/util.hpp b/util.hpp
index 0f03af3..723c941 100644
--- a/util.hpp
+++ b/util.hpp
@@ -191,7 +191,7 @@
template <typename... ArgTypes>
void execute(const char* path, ArgTypes&&... tArgs)
{
- using expandType = char* [];
+ using expandType = char*[];
expandType args = {const_cast<char*>(tArgs)..., nullptr};