Skip to content

Fix build issues with GCC and Clang

t.knopff requested to merge fix_build_errors into develop

This MR fixes two minor issues if compilitation is done with GCC and/or Clang:

  1. GCC and Clang complain about std::unique_ptr being undeclared because of a missing include in CsvImportTable.h
error: no template named 'unique_ptr' in namespace 'std'
    std::unique_ptr<const csv::DataArray> m_data;
  1. GCC issues a warning about the constructor of the base class not being explicitly called in CloneableVector.h:
base class ‘class std::vector<std::unique_ptr<IAxis>, std::allocator<std::unique_ptr<IAxis> > >’ should be explicitly initialized in the copy constructor [-Werror=extra]
   40 |     CloneableVector(const CloneableVector& other) { copyOther(other); }
      |     ^~~~~~~~~~~~~~~
Edited by t.knopff

Merge request reports