Skip to content

Commit d712b8b

Browse files
committed
feat: support PatchID MAP in wrapper
1 parent 8f634e2 commit d712b8b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

wrapper.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ int WrapperAPI wrapperLoadRes(pDataList perData, unsigned int resId) {
157157
spdlog::debug("wrapper LoadResource Error, perData Desc Key Null");
158158
return -1;
159159
}
160-
string patch_key = perData->desc->key;
161-
string fixKey = "patch_id";
160+
std::string patch_key = perData->desc->key;
161+
std::string fixKey = "patch_id";
162162

163163
if (patch_key.compare(fixKey) != 0) {
164164
spdlog::debug("wrapper LoadResource Error, perData Desc Key Null");
@@ -168,7 +168,7 @@ int WrapperAPI wrapperLoadRes(pDataList perData, unsigned int resId) {
168168
spdlog::debug("wrapper LoadResource Error, perData Desc PatchId Value Null");
169169
return -1;
170170
}
171-
string patch_Id = perData->desc->value;
171+
std::string patch_Id = perData->desc->value;
172172
RES_MUTEX.lock();
173173
RESID_MAP[resId] = patch_Id;
174174
RES_MUTEX.unlock();

0 commit comments

Comments
 (0)