Commit ef9b0678 authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Fixed Python scripting enabled builds.

parent 91e9df59
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -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