From 6a7b59fc0e2efcfc80f723c3df633ebb01bd06fd Mon Sep 17 00:00:00 2001 From: tkzcfc Date: Tue, 23 Apr 2024 18:24:31 +0800 Subject: [PATCH] Fix compilation error --- core/2d/SpriteFrameCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/2d/SpriteFrameCache.cpp b/core/2d/SpriteFrameCache.cpp index 593c0655eeb9..1fe0704fc4f7 100644 --- a/core/2d/SpriteFrameCache.cpp +++ b/core/2d/SpriteFrameCache.cpp @@ -192,7 +192,7 @@ void SpriteFrameCache::removeUnusedSpriteSheets() for (auto& spriteSheetFileName : willRemoveSpriteSheetFileNames) { - AXLOG("axmol: SpriteFrameCache: removing unused sprite sheet file : %s", spriteSheetFileName.c_str()); + AXLOG("axmol: SpriteFrameCache: removing unused sprite sheet file : %s", spriteSheetFileName.data()); removeSpriteSheet(spriteSheetFileName); } }