Fixed Python scripting enabled builds.

This commit is contained in:
Maciej Suminski 2014-07-14 15:14:37 +02:00
parent 91e9df59d4
commit ef9b0678c6
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,8 @@ class DLIST : public DHEAD
{ {
public: public:
// Without the following ifdef, SWIG appends methods from the templated class
#ifndef SWIG
/** /**
* operator T* * operator T*
* is a casting operator that returns \a GetFirst(), a 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* * is a dereferencing operator that returns \a GetFirst(), a T*
*/ */
T* operator -> () const { return GetFirst(); } T* operator -> () const { return GetFirst(); }
#endif /* SWIG */
/** /**
* Function GetFirst * Function GetFirst