From 40b03ab0dca7d948051a40d68db7602a652b8351 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 8 Apr 2023 02:40:00 +0200 Subject: Enable use on amd/intel --- src/config.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.hpp') diff --git a/src/config.hpp b/src/config.hpp index 275f9f9..7257a4a 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -138,8 +138,8 @@ static bool file_get_content(const char *filepath, std::string &file_content) { } struct StringView { - const char *str; - size_t size; + const char *str = nullptr; + size_t size = 0; bool operator == (const char *other) const { int len = strlen(other); -- cgit v1.2.3