Code formatting.

This commit is contained in:
Maciej Suminski 2015-08-12 21:12:12 +02:00
parent a6c94e26f6
commit 127fcfa7c9
6 changed files with 37 additions and 37 deletions

View File

@ -51,7 +51,8 @@ class PNS_OBJECT
{
public:
PNS_OBJECT():
m_owner(NULL) {};
m_owner( NULL ) {}
~PNS_OBJECT() {};
/**

View File

@ -41,7 +41,7 @@ PNS_LINE::PNS_LINE( const PNS_LINE& aOther ) :
m_net = aOther.m_net;
m_movable = aOther.m_movable;
m_layers = aOther.m_layers;
m_owner = aOther.m_owner;
m_owner = NULL;
m_via = aOther.m_via;
m_hasVia = aOther.m_hasVia;
m_marker = aOther.m_marker;

View File

@ -1110,7 +1110,6 @@ void PNS_NODE::GetUpdatedItems( ITEM_VECTOR& aRemoved, ITEM_VECTOR& aAdded )
aAdded.push_back( *i );
}
void PNS_NODE::releaseChildren()
{
// copy the kids as the PNS_NODE destructor erases the item from the parent node.