Skip to content

Commit

Permalink
fix: Add some missing headers for GCC 14 (acts-project#3259)
Browse files Browse the repository at this point in the history
These headers need to be included to build with GCC 14. Additional fixed a unused variable warning.
  • Loading branch information
benjaminhuth authored and Matthew Harris committed Jun 18, 2024
1 parent eddbd9d commit f40db7e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ struct ExaTrkXTiming {
class ExaTrkXHook {
public:
virtual ~ExaTrkXHook() {}
virtual void operator()(const std::any &nodes, const std::any &edges,
const std::any &weights) const {};
virtual void operator()(const std::any & /*nodes*/,
const std::any & /*edges*/,
const std::any & /*weights*/) const {};
};

class ExaTrkXPipeline {
Expand Down
2 changes: 2 additions & 0 deletions Plugins/ExaTrkX/src/ExaTrkXPipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include "Acts/Plugins/ExaTrkX/ExaTrkXPipeline.hpp"

#include <algorithm>

namespace Acts {

ExaTrkXPipeline::ExaTrkXPipeline(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <memory>

#include <GeoModelRead/ReadGeoModel.h>

class GeoVPhysVol;
Expand Down

0 comments on commit f40db7e

Please sign in to comment.