diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-07-23 20:20:26 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-07-23 20:20:26 +0200 |
commit | 8a90328ab7e1958d5e33f2961ad65c35682d9ce6 (patch) | |
tree | 0f4b427504a310a0bbd57185355dcd9e44ea720b /common/pybindings.cc | |
parent | cca7d3aef7e97228bddc04601e5c6f1d03894be9 (diff) | |
download | nextpnr-8a90328ab7e1958d5e33f2961ad65c35682d9ce6.tar.gz nextpnr-8a90328ab7e1958d5e33f2961ad65c35682d9ce6.tar.bz2 nextpnr-8a90328ab7e1958d5e33f2961ad65c35682d9ce6.zip |
proper ctx export
Diffstat (limited to 'common/pybindings.cc')
-rw-r--r-- | common/pybindings.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index 49acb996..e1a7d313 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -145,7 +145,7 @@ PYBIND11_MODULE(MODULE_NAME, m) typedef std::unordered_map<IdString, IdString> IdIdMap; typedef std::unordered_map<IdString, std::unique_ptr<Region>> RegionMap; - py::class_<BaseCtx, std::unique_ptr<BaseCtx, py::nodelete>>(m, "BaseCtx"); + py::class_<BaseCtx>(m, "BaseCtx"); auto loc_cls = py::class_<Loc>(m, "Loc") .def(py::init<int, int, int>()) |