Changeset aa353e in git for kernel/GBEngine/kutil.cc


Ignore:
Timestamp:
Apr 10, 2015, 2:23:59 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
9383ae8c2345574530bbcaa9082f475a84fcbf0f
Parents:
8024837072c7be2a09fc786de78354ac60cb89c6
Message:
opt. enterS, enterT: reference instead of copy for L/TObject
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    r802483 raa353e  
    69266926* -saves the result in S
    69276927*/
    6928 void enterSBba (LObject p,int atS,kStrategy strat, int atR)
     6928void enterSBba (LObject &p,int atS,kStrategy strat, int atR)
    69296929{
    69306930  strat->news = TRUE;
     
    70297029* -saves the result in S
    70307030*/
    7031 void enterSSba (LObject p,int atS,kStrategy strat, int atR)
     7031void enterSSba (LObject &p,int atS,kStrategy strat, int atR)
    70327032{
    70337033  strat->news = TRUE;
     
    71607160* puts p to the set T at position atT
    71617161*/
    7162 void enterT(LObject p, kStrategy strat, int atT)
     7162void enterT(LObject &p, kStrategy strat, int atT)
    71637163{
    71647164  int i;
     
    72397239* puts signature p.sig to the set syz
    72407240*/
    7241 void enterSyz(LObject p, kStrategy strat, int atT)
     7241void enterSyz(LObject &p, kStrategy strat, int atT)
    72427242{
    72437243  int i;
     
    87798779int redFirst (LObject* h,kStrategy strat);
    87808780int redEcart (LObject* h,kStrategy strat);
    8781 void enterSMora (LObject p,int atS,kStrategy strat, int atR=-1);
    8782 void enterSMoraNF (LObject p,int atS,kStrategy strat, int atR=-1);
     8781void enterSMora (LObject &p,int atS,kStrategy strat, int atR=-1);
     8782void enterSMoraNF (LObject &p,int atS,kStrategy strat, int atR=-1);
    87838783// ../Singular/misc.cc:
    87848784extern char *  showOption();
Note: See TracChangeset for help on using the changeset viewer.