Changeset 3589:50912354a833 in orange


Ignore:
Timestamp:
04/25/07 13:23:04 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
21e5ece53bc1ba91d76b9dbcb2e65130c0b5185f
Message:
  • TDomain's copy constructor copied a list of known domains without notifying the whoever-need-to-be-notified. This caused crashes in some regression tests. Now it doesn't copy the list anymore, which makes it unnoticeably slower.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/domain.cpp

    r3407 r3589  
    8282  metas(old.metas), 
    8383  version(++domainVersion), 
    84   knownDomains(old.knownDomains), 
     84  knownDomains(),  // don't copy, unless you want to mess with the notifiers.. 
    8585  lastDomain(knownDomains.end()), 
    8686  destroyNotifiers() 
Note: See TracChangeset for help on using the changeset viewer.