Corrected the default net class assignment
This commit is contained in:
parent
5731acc97c
commit
b6d54acf3b
|
@ -101,9 +101,7 @@ bool NETCLASSES::Add( NETCLASSPTR aNetClass )
|
|||
|
||||
if( name == NETCLASS::Default )
|
||||
{
|
||||
// invoke operator=(), which is currently generated by compiler.
|
||||
GetDefault() = aNetClass;
|
||||
|
||||
m_default = aNetClass;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue