Skip to content
Snippets Groups Projects
Unverified Commit 14c71dbf authored by Joris Vaillant's avatar Joris Vaillant
Browse files

core: Add inline to deprecationTypeToPyObj definition to avoid linking error

parent 7dde1094
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ enum class DeprecationType { DEPRECATION, FUTURE };
namespace detail {
PyObject *deprecationTypeToPyObj(DeprecationType dep) {
inline PyObject *deprecationTypeToPyObj(DeprecationType dep) {
switch (dep) {
case DeprecationType::DEPRECATION:
return PyExc_DeprecationWarning;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment