- if (O != NULL && C != NULL && !allInitBefore) {
- for (vector<para>::iterator parit=delayedParaAdd.begin(); parit != delayedParaAdd.end(); ++parit) {
- O->addPara(parit->parid, parit->val);
- C->addPara(parit->parid, parit->val);
- }
- for (vector<para>::iterator parit=delayedParaSet.begin(); parit != delayedParaSet.end(); ++parit) {
- O->setPara(parit->parid, parit->val);
- C->setPara(parit->parid, parit->val);
- }
- }
+ for (vector<para>::iterator parit=delayedParaSet.begin(); parit != delayedParaSet.end(); ++parit)
+ (*cache)->setPara(parit->parid, parit->val);