Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :

Commit 40f0c97f authored by Ludovic Courtès's avatar Ludovic Courtès

core: vertical_segment: Remove body of deprecated constructor.

parent fa156098
......@@ -81,12 +81,19 @@ vertical_segment::vertical_segment(const parameters& params,
// Work around the lack of array support in C++11's 'shared_ptr'.
static void delete_array(double *thing)
delete[] thing;
vertical_segment::vertical_segment(const parameters& params, unsigned int rows):
data(params, rows), _is_absolute(true), _dt(0.1)
// Create a data object with a "value-initialized" (i.e., zeroed) array.
vertical_segment(params, rows,
(new double[rows * (params.dimX() + 3 * params.dimY())]{},
_data =
std::shared_ptr<double>(new double[rows * column_number()]);
memset(_data.get(), '\0', sizeof(double) * rows * column_number());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment