Remove cover type in link holder
This commit is contained in:
parent
7dc7268146
commit
6a73c7ffb3
|
@ -33,8 +33,6 @@ namespace PNS
|
|||
class LINK_HOLDER : public ITEM
|
||||
{
|
||||
public:
|
||||
typedef std::vector<LINKED_ITEM*> LINKS;
|
||||
|
||||
LINK_HOLDER( PnsKind aKind ) : ITEM( aKind )
|
||||
{}
|
||||
|
||||
|
@ -46,8 +44,8 @@ public:
|
|||
|
||||
///< Return the list of links from the owning node that constitute this
|
||||
///< line (or NULL if the line is not linked).
|
||||
LINKS& Links() { return m_links; }
|
||||
const LINKS& Links() const { return m_links; }
|
||||
std::vector<LINKED_ITEM*>& Links() { return m_links; }
|
||||
const std::vector<LINKED_ITEM*>& Links() const { return m_links; }
|
||||
|
||||
bool IsLinked() const
|
||||
{
|
||||
|
@ -102,7 +100,7 @@ protected:
|
|||
|
||||
///< List of segments in the owning NODE (ITEM::m_owner) that constitute this line, or NULL
|
||||
///< if the line is not a part of any node.
|
||||
LINKS m_links;
|
||||
std::vector<LINKED_ITEM*> m_links;
|
||||
};
|
||||
|
||||
} // namespace PNS
|
||||
|
|
Loading…
Reference in New Issue