aboutsummaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-08 02:40:00 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-08 02:42:55 +0200
commit40b03ab0dca7d948051a40d68db7602a652b8351 (patch)
treedadedbe75c4fb776a3ecb90d3ee95ea1de77f536 /src/config.hpp
parent543d11a3c01029d40c5351d466803533a9a2ccd4 (diff)
Enable use on amd/intel
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp4
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);