From: Ralf Hartmann Date: Wed, 3 Mar 2004 13:20:21 +0000 (+0000) Subject: Add missing const's. X-Git-Tag: v8.0.0~15694 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05bdb3c36022cf935e9200c23d9fc559404f491e;p=dealii.git Add missing const's. git-svn-id: https://svn.dealii.org/trunk@8646 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/vector.cc b/deal.II/lac/source/vector.cc index 2b67288db4..015deece34 100644 --- a/deal.II/lac/source/vector.cc +++ b/deal.II/lac/source/vector.cc @@ -17,8 +17,8 @@ // explicit instantiations template class Vector; template Vector& Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=(const Vector&); -template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&); -template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&); +template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&) const; +template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&) const; template double Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator*(const Vector&) const; template double Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator*(const Vector&) const; template void Vector::reinit(const Vector&, const bool); @@ -30,8 +30,8 @@ template void Vector::scale(const Vector&); template class Vector; template Vector& Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=(const Vector&); -template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&); -template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&); +template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&) const; +template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&) const; template float Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator*(const Vector&) const; template float Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator*(const Vector&) const; template void Vector::reinit(const Vector&, const bool);