diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-04-08 02:40:00 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-04-08 02:42:55 +0200 |
commit | 40b03ab0dca7d948051a40d68db7602a652b8351 (patch) | |
tree | dadedbe75c4fb776a3ecb90d3ee95ea1de77f536 /src/config.hpp | |
parent | 543d11a3c01029d40c5351d466803533a9a2ccd4 (diff) |
Enable use on amd/intel
Diffstat (limited to 'src/config.hpp')
-rw-r--r-- | src/config.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |