Corrected the default net class assignment

This commit is contained in:
Simon Schubert 2017-09-29 08:43:30 +02:00 committed by Maciej Suminski
parent 5731acc97c
commit b6d54acf3b
1 changed files with 1 additions and 3 deletions

View File

@ -101,9 +101,7 @@ bool NETCLASSES::Add( NETCLASSPTR aNetClass )
if( name == NETCLASS::Default ) if( name == NETCLASS::Default )
{ {
// invoke operator=(), which is currently generated by compiler. m_default = aNetClass;
GetDefault() = aNetClass;
return true; return true;
} }