mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-23 15:40:03 +00:00
fix compile errors for m60 platform
Signed-off-by: SivaLee <lisiyuan21@huawei.com> Change-Id: I1375b8a74db5926ec1eaa0580a9ff4b1226fb270
This commit is contained in:
parent
5e254323db
commit
30da55b366
@ -30,7 +30,10 @@ namespace OHOS {
|
||||
if (size <= 0) {
|
||||
return;
|
||||
}
|
||||
BreakpointDetails details = { .line_ = size, .column_ = size, .url_ = std::string((const char*)data, size)};
|
||||
BreakpointDetails details;
|
||||
details.line_ = size;
|
||||
details.column_ = size;
|
||||
details.url_ = std::string((const char*)data, size);
|
||||
BreakpointId id = BreakpointDetails::ToString(details);
|
||||
BreakpointDetails::ParseBreakpointId(id, &details);
|
||||
JSNApi::DestroyJSVM(vm);
|
||||
|
@ -30,7 +30,10 @@ namespace OHOS {
|
||||
if (size <= 0) {
|
||||
return;
|
||||
}
|
||||
BreakpointDetails details = { .line_ = size, .column_ = size, .url_ = std::string((const char*)data, size)};
|
||||
BreakpointDetails details;
|
||||
details.line_ = size;
|
||||
details.column_ = size;
|
||||
details.url_ = std::string((const char*)data, size);
|
||||
BreakpointId id = BreakpointDetails::ToString(details);
|
||||
JSNApi::DestroyJSVM(vm);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user