Fix GitHub inline warnings (#5681)

This commit is contained in:
Tyler Veness
2023-09-23 19:57:18 -07:00
committed by GitHub
parent e8d4a20331
commit d0305951ad
2 changed files with 3 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ bool AddIcon(const unsigned char* data, int len);
inline bool AddIcon(std::string_view data) {
return AddIcon(reinterpret_cast<const unsigned char*>(data.data()),
data.size());
static_cast<int>(data.size()));
}
/**