Skip to content

Commit

Permalink
Fix python
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarineBlueQuartz committed Sep 28, 2023
1 parent b3cba5d commit f18263a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wrapping/python/CxPybind/CxPybind/CxPybind.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ class Internals

Application* getApp()
{
return m_App;
return m_App.get();
}

const Application* getApp() const
{
return m_App;
return m_App.get();
}

template <class T>
Expand Down Expand Up @@ -281,7 +281,7 @@ class Internals
std::unordered_map<Uuid, PyParameterInfo> m_ParameterConversionMap;
std::unordered_map<Uuid, std::vector<py::type>> m_PluginFilterMap;
std::unordered_map<Uuid, std::shared_ptr<PythonPlugin>> m_PythonPlugins;
Application* m_App;
std::shared_ptr<Application> m_App;
};

inline py::dict ConvertArgsToDict(const Internals& internals, const Parameters& parameters, const Arguments& args)
Expand Down

0 comments on commit f18263a

Please sign in to comment.