mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-17 04:30:56 +08:00
add copyFile() & copyFileContent() for POSIX env
This commit is contained in:
@@ -180,7 +180,7 @@ string ASharedMemory_getName(int fd) {
|
||||
MMKVError("fail to get ashmem name:%d, %s", fd, strerror(errno));
|
||||
return "";
|
||||
}
|
||||
return string(name);
|
||||
return {name};
|
||||
}
|
||||
|
||||
} // namespace mmkv
|
||||
|
||||
Reference in New Issue
Block a user