From: Roberto Bagnara Date: Sun, 11 Feb 2018 08:11:09 +0000 (+0100) Subject: Added missing "template" and "typename" keywords. X-Git-Url: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl%2Fppl.git;a=commitdiff_plain;h=c39f6a07b51f89e365b05ba4147aa2aa448febd7;hp=3a5e1e20a94cffb830182f22132b153d6691b7c5 Added missing "template" and "typename" keywords. (Thanks to Dmitrii Pasechnik.) --- diff --git a/src/Determinate_inlines.hh b/src/Determinate_inlines.hh index 2749953..5b47275 100644 --- a/src/Determinate_inlines.hh +++ b/src/Determinate_inlines.hh @@ -289,8 +289,8 @@ operator()(Determinate& x, const Determinate& y) const { template template -inline -Determinate::Binary_Operator_Assign_Lifter +inline typename +Determinate::template Binary_Operator_Assign_Lifter Determinate::lift_op_assign(Binary_Operator_Assign op_assign) { return Binary_Operator_Assign_Lifter(op_assign); } diff --git a/src/OR_Matrix_inlines.hh b/src/OR_Matrix_inlines.hh index b20b697..8124b7f 100644 --- a/src/OR_Matrix_inlines.hh +++ b/src/OR_Matrix_inlines.hh @@ -97,7 +97,7 @@ OR_Matrix::Pseudo_Row::Pseudo_Row(const Pseudo_Row& y) template template -inline OR_Matrix::Pseudo_Row& +inline typename OR_Matrix::template Pseudo_Row& OR_Matrix::Pseudo_Row::operator=(const Pseudo_Row& y) { first = y.first; #if PPL_OR_MATRIX_EXTRA_DEBUG