Werner compil warning (#32)
* Replace int by size_t in for loops. * Various dtor missing and some other warning fixes. * fixed size_t vs int * fixed size_t vs int --------- Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com> Co-authored-by: Aik-Siong Koh <askoh@askoh.com>
This commit is contained in:
@@ -33,7 +33,7 @@ FunctionWithManyArgs::FunctionWithManyArgs(Symsptr term, Symsptr term1, Symsptr
|
||||
|
||||
FunctionWithManyArgs::FunctionWithManyArgs(std::shared_ptr<std::vector<Symsptr>> _terms) {
|
||||
terms = std::make_shared<std::vector<Symsptr>>();
|
||||
for (int i = 0; i < _terms->size(); i++)
|
||||
for (size_t i = 0; i < _terms->size(); i++)
|
||||
terms->push_back(_terms->at(i));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user