Revert "fix: optimization: Various PVS-Studio warnings"

This commit is contained in:
MihailRis
2024-08-02 14:51:44 +03:00
committed by GitHub
parent a7ef7bb365
commit ba046a52c0
90 changed files with 259 additions and 274 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ namespace util {
/// @brief Function used for error messages
std::string quote(const std::string& s);
std::wstring lfill(const std::wstring& s, uint length, wchar_t c);
std::wstring rfill(const std::wstring& s, uint length, wchar_t c);
std::wstring lfill(std::wstring s, uint length, wchar_t c);
std::wstring rfill(std::wstring s, uint length, wchar_t c);
uint encode_utf8(uint32_t c, ubyte* bytes);
uint32_t decode_utf8(uint& size, const char* bytes);