Comment # 2 on bug 1225861 from Stefan Hundhammer
https://github.com/libyui/libyui/blob/master/libyui/src/TreeItem.h#L49

>  33  /**
>  34   * Template class for tree items that can handle tree children in a
>  35   * generic way - firstChild(), next() and parent(). Each item stores one value
>  36   * of type 'PAYLOAD'.
>  37   *
>  38   * Class 'PAYLOAD' needs to provide operator=().
>  39   **/
>  40  template<class PAYLOAD> class TreeItem
>  41  {
>  42  public:
>  43  
>  44      /**
>  45       * Constructor. Creates a new tree item with value "val" and inserts it
>  46       * ( without maintaining any meaningful sort order! ) into the children list
>  47       * of "parent".
>  48       **/
>  49      TreeItem<PAYLOAD> ( const PAYLOAD &         val,
>  50                          TreeItem<PAYLOAD> *     parent = 0 )
>  51          : _value( val )
>  52          , _parent( parent )
>  53          , _next(0)
>  54          , _firstChild(0)
>  55      {
>  56          if ( _parent )
>  57              _parent->addChild( this );
>  58      }
>  59  
>  60  

What on earth is it complaining about now?
What did they introduce now to make a developer's life even harder?

> TreeItem.h:49:23: note: remove the ‘< >’

?!????


You are receiving this mail because: