From: bangerth Date: Fri, 4 Oct 2013 13:03:44 +0000 (+0000) Subject: Qualify strcpy with std:: X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467aff6ed70ec79b9faf8114a34f4867281cc2c8;p=dealii-svn.git Qualify strcpy with std:: git-svn-id: https://svn.dealii.org/trunk@31117 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/arpack_solver.h b/deal.II/include/deal.II/lac/arpack_solver.h index 9c3e1b2c83..4e6ae9008c 100644 --- a/deal.II/include/deal.II/lac/arpack_solver.h +++ b/deal.II/include/deal.II/lac/arpack_solver.h @@ -21,6 +21,9 @@ #include #include +#include + + #ifdef DEAL_II_WITH_ARPACK DEAL_II_NAMESPACE_OPEN @@ -284,31 +287,31 @@ void ArpackSolver::solve ( switch (additional_data.eigenvalue_of_interest) { case algebraically_largest: - strcpy (which, "LA"); + std::strcpy (which, "LA"); break; case algebraically_smallest: - strcpy (which, "SA"); + std::strcpy (which, "SA"); break; case largest_magnitude: - strcpy (which, "LM"); + std::strcpy (which, "LM"); break; case smallest_magnitude: - strcpy (which, "SM"); + std::strcpy (which, "SM"); break; case largest_real_part: - strcpy (which, "LR"); + std::strcpy (which, "LR"); break; case smallest_real_part: - strcpy (which, "SR"); + std::strcpy (which, "SR"); break; case largest_imaginary_part: - strcpy (which, "LI"); + std::strcpy (which, "LI"); break; case smallest_imaginary_part: - strcpy (which, "SI"); + std::strcpy (which, "SI"); break; case both_ends: - strcpy (which, "BE"); + std::strcpy (which, "BE"); break; }