@@ -31,6 +31,8 @@ part of the RooFit computation graph.
3131#include " RooMsgService.h"
3232#include " RooRealVar.h"
3333
34+ #include < utility>
35+
3436using namespace std ;
3537using namespace RooFit ;
3638
@@ -56,7 +58,7 @@ void RooPolyFunc::addTerm(double coefficient)
5658
5759 termList->addOwned (*exponents);
5860 termList->addOwned (*coeff);
59- _terms.push_back (move (termList));
61+ _terms.push_back (std:: move (termList));
6062}
6163
6264void RooPolyFunc::addTerm (double coefficient, const RooAbsReal &var1, int exp1)
@@ -80,7 +82,7 @@ void RooPolyFunc::addTerm(double coefficient, const RooAbsReal &var1, int exp1)
8082
8183 termList->addOwned (*exponents);
8284 termList->addOwned (*coeff);
83- _terms.push_back (move (termList));
85+ _terms.push_back (std:: move (termList));
8486}
8587
8688void RooPolyFunc::addTerm (double coefficient, const RooAbsReal &var1, int exp1, const RooAbsReal &var2, int exp2)
@@ -105,7 +107,7 @@ void RooPolyFunc::addTerm(double coefficient, const RooAbsReal &var1, int exp1,
105107 }
106108 termList->addOwned (*exponents);
107109 termList->addOwned (*coeff);
108- _terms.push_back (move (termList));
110+ _terms.push_back (std:: move (termList));
109111}
110112
111113void RooPolyFunc::addTerm (double coefficient, const RooAbsCollection &exponents)
@@ -122,7 +124,7 @@ void RooPolyFunc::addTerm(double coefficient, const RooAbsCollection &exponents)
122124 auto coeff = new RooRealVar (coeff_name.c_str (), coeff_name.c_str (), coefficient);
123125 termList->addOwned (exponents);
124126 termList->addOwned (*coeff);
125- _terms.push_back (move (termList));
127+ _terms.push_back (std:: move (termList));
126128}
127129
128130// //////////////////////////////////////////////////////////////////////////////
0 commit comments