Skip to content

Commit

Permalink
Fix errors in CI prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
qgh committed Sep 11, 2024
1 parent fc20591 commit 7379867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native/extensions/assets-manager/AssetsManagerEx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ void AssetsManagerEx::prepareUpdateAsync(const PrepareUpdateFinishedCallback &cb
_downloadResumed = false;
_downloadedSize.clear();
_totalEnabled = false;
std::function<void(void *)> prepareFinished = [this, cb](void *) {
std::function<void(void *)> prepareFinished = [this, cb](void * param) {
_updateState = State::READY_TO_UPDATE;
if (cb) {
cb();
Expand Down
2 changes: 1 addition & 1 deletion native/extensions/assets-manager/AssetsManagerEx.h
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class CC_EX_DLL AssetsManagerEx : public RefCounted {
//! Callback function to dispatch events
EventCallback _eventCallback = nullptr;

static AssetsManagerEx *_assetsManager;
static AssetsManagerEx *assetsManager;
//! Marker for whether the assets manager is inited
bool _inited = false;
};
Expand Down

0 comments on commit 7379867

Please sign in to comment.