From 7773e3bf5e83215e0855a9c1e29f39c8f5f868a1 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Sat, 24 Apr 2021 19:06:30 +0200
Subject: [PATCH] fixes

---
 corsika/detail/modules/ObservationPlane.inl                     | 2 +-
 .../detail/modules/writers/ObservationPlaneWriterParquet.inl    | 2 +-
 corsika/detail/modules/writers/TrackWriterParquet.inl           | 2 +-
 corsika/detail/output/ParquetStreamer.inl                       | 2 +-
 corsika/modules/writers/ObservationPlaneWriterParquet.hpp       | 2 +-
 corsika/modules/writers/TrackWriterParquet.hpp                  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/corsika/detail/modules/ObservationPlane.inl b/corsika/detail/modules/ObservationPlane.inl
index a09324d98..eb42521a0 100644
--- a/corsika/detail/modules/ObservationPlane.inl
+++ b/corsika/detail/modules/ObservationPlane.inl
@@ -25,7 +25,7 @@ namespace corsika {
   template <typename TOutput>
   inline ProcessReturn ObservationPlane<TOutput>::doContinuous(
       corsika::setup::Stack::particle_type& particle,
-      corsika::setup::Trajectory& trajectory, bool const stepLimit) {
+      corsika::setup::Trajectory&, bool const stepLimit) {
     /*
        The current step did not yet reach the ObservationPlane, do nothing now and wait:
      */
diff --git a/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl b/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl
index 1e9a0c23a..a2e0e7220 100644
--- a/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl
+++ b/corsika/detail/modules/writers/ObservationPlaneWriterParquet.inl
@@ -14,7 +14,7 @@ namespace corsika {
       : output_() {}
 
   void ObservationPlaneWriterParquet::startOfLibrary(
-      std::filesystem::path const& directory) {
+      boost::filesystem::path const& directory) {
 
     // setup the streamer
     output_.initStreamer((directory / "particles.parquet").string());
diff --git a/corsika/detail/modules/writers/TrackWriterParquet.inl b/corsika/detail/modules/writers/TrackWriterParquet.inl
index 27c7b3c78..089dfa600 100644
--- a/corsika/detail/modules/writers/TrackWriterParquet.inl
+++ b/corsika/detail/modules/writers/TrackWriterParquet.inl
@@ -13,7 +13,7 @@ namespace corsika {
   TrackWriterParquet::TrackWriterParquet()
       : output_() {}
 
-  void TrackWriterParquet::startOfLibrary(std::filesystem::path const& directory) {
+  void TrackWriterParquet::startOfLibrary(boost::filesystem::path const& directory) {
 
     // setup the streamer
     output_.initStreamer((directory / "tracks.parquet").string());
diff --git a/corsika/detail/output/ParquetStreamer.inl b/corsika/detail/output/ParquetStreamer.inl
index b08fa6c60..8f29e3a4e 100644
--- a/corsika/detail/output/ParquetStreamer.inl
+++ b/corsika/detail/output/ParquetStreamer.inl
@@ -49,7 +49,7 @@ namespace corsika {
 
   void ParquetStreamer::closeStreamer() {
     writer_.reset();
-    outfile_->Close();
+    [[maybe_unused]] auto status = outfile_->Close();
   }
 
   std::shared_ptr<parquet::StreamWriter> ParquetStreamer::getWriter() { return writer_; }
diff --git a/corsika/modules/writers/ObservationPlaneWriterParquet.hpp b/corsika/modules/writers/ObservationPlaneWriterParquet.hpp
index 240b808e1..2a5089c26 100644
--- a/corsika/modules/writers/ObservationPlaneWriterParquet.hpp
+++ b/corsika/modules/writers/ObservationPlaneWriterParquet.hpp
@@ -30,7 +30,7 @@ namespace corsika {
     /**
      * Called at the start of each library.
      */
-    void startOfLibrary(std::filesystem::path const& directory) final override;
+    void startOfLibrary(boost::filesystem::path const& directory) final override;
 
     /**
      * Called at the end of each shower.
diff --git a/corsika/modules/writers/TrackWriterParquet.hpp b/corsika/modules/writers/TrackWriterParquet.hpp
index 5298222f6..dad76c074 100644
--- a/corsika/modules/writers/TrackWriterParquet.hpp
+++ b/corsika/modules/writers/TrackWriterParquet.hpp
@@ -30,7 +30,7 @@ namespace corsika {
     /**
      * Called at the start of each library.
      */
-    void startOfLibrary(std::filesystem::path const& directory) final override;
+    void startOfLibrary(boost::filesystem::path const& directory) final override;
 
     /**
      * Called at the end of each shower.
-- 
GitLab