mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
cxxrtl: capi: don't use deprecated invocation.
This commit is contained in:
parent
a55e8594b7
commit
3ed2865ac5
|
@ -47,7 +47,7 @@ cxxrtl_handle cxxrtl_create_at(cxxrtl_toplevel design, const char *top_path_) {
|
||||||
|
|
||||||
cxxrtl_handle handle = new _cxxrtl_handle;
|
cxxrtl_handle handle = new _cxxrtl_handle;
|
||||||
handle->module = std::move(design->module);
|
handle->module = std::move(design->module);
|
||||||
handle->module->debug_info(handle->objects, top_path);
|
handle->module->debug_info(&handle->objects, nullptr, top_path);
|
||||||
delete design;
|
delete design;
|
||||||
return handle;
|
return handle;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue