Commit ef9b0678 authored by Maciej Suminski's avatar Maciej Suminski

Fixed Python scripting enabled builds.

parent 91e9df59
......@@ -143,6 +143,8 @@ class DLIST : public DHEAD
{
public:
// Without the following ifdef, SWIG appends methods from the templated class
#ifndef SWIG
/**
* operator T*
* is a casting operator that returns \a GetFirst(), a T*
......@@ -154,6 +156,7 @@ public:
* is a dereferencing operator that returns \a GetFirst(), a T*
*/
T* operator -> () const { return GetFirst(); }
#endif /* SWIG */
/**
* Function GetFirst
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment