fix: add support for int32_t on other compilers (#114)

This commit is contained in:
Kreijstal 2023-12-11 16:32:39 +01:00 committed by GitHub
parent ac8f5a044c
commit 9842a3f819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
util.h
View File

@ -2,6 +2,7 @@
#define __UTIL_H__ #define __UTIL_H__
#include <string> #include <string>
#include <cstdint>
bool ends_with(const std::string& str, const std::string& ending); bool ends_with(const std::string& str, const std::string& ending);
bool starts_with(const std::string& str, const std::string& start); bool starts_with(const std::string& str, const std::string& start);