Try to build fix

This commit is contained in:
sum2012
2022-10-05 06:22:40 +08:00
parent af93a7185b
commit 09e9488de8
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -56,10 +56,11 @@ GameScreen::~GameScreen() {
}
}
std::string int2hexstr(const int a) {
const char* int2hexstr(const int a) {
std::stringstream stream;
stream << std::hex << a;
return stream.str();
auto s = stream.str();
return s.c_str();
}
void GameScreen::update() {