mirror of https://github.com/CGAL/cgal
Missing standard includes.
This commit is contained in:
parent
40e636e8e5
commit
4d4f9adb55
|
|
@ -41,6 +41,7 @@ typename CGAL::internal::Innermost_coefficient_type<T>::Type , 2>::Type
|
|||
|
||||
|
||||
#include <CGAL/ipower.h>
|
||||
#include <cstdio>
|
||||
#include <sstream>
|
||||
#include <CGAL/Polynomial/misc.h>
|
||||
|
||||
|
|
@ -1330,7 +1331,7 @@ void Polynomial<NT>::output_maple(std::ostream& os) const {
|
|||
static const char *varnames[] = { "x", "y", "z" };
|
||||
varname = varnames[Polynomial_traits_d<NT>::d];
|
||||
} else {
|
||||
sprintf(vnbuf, "w%d", Polynomial_traits_d<NT>::d - 2);
|
||||
std::sprintf(vnbuf, "w%d", Polynomial_traits_d<NT>::d - 2);
|
||||
varname = vnbuf;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#ifndef CGAL_PARAMETERIZATION_MESH_PATCH_3_H
|
||||
#define CGAL_PARAMETERIZATION_MESH_PATCH_3_H
|
||||
|
||||
#include <cstdio>
|
||||
#include <CGAL/iterator.h>
|
||||
#include <CGAL/circulator.h>
|
||||
#include <CGAL/Convertible_iterator_project.h>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
#include <CGAL/Taucs_fix.h>
|
||||
#include <CGAL/assertions.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
namespace CGAL {
|
||||
|
|
@ -322,9 +323,9 @@ public:
|
|||
int nb_elements = m_columns[col].size(); // Number of non null elements of the column
|
||||
|
||||
// Fast copy of column indices and values
|
||||
memcpy(&m_matrix->rowind[first_index], &m_columns[col].m_indices[0], nb_elements*sizeof(int));
|
||||
std::memcpy(&m_matrix->rowind[first_index], &m_columns[col].m_indices[0], nb_elements*sizeof(int));
|
||||
T* taucs_values = (T*) m_matrix->values.v;
|
||||
memcpy(&taucs_values[first_index], &m_columns[col].m_values[0], nb_elements*sizeof(T));
|
||||
std::memcpy(&taucs_values[first_index], &m_columns[col].m_values[0], nb_elements*sizeof(T));
|
||||
|
||||
// Start of next column will be:
|
||||
m_matrix->colptr[col+1] = first_index + nb_elements;
|
||||
|
|
|
|||
Loading…
Reference in New Issue