Skip to content

Commit

Permalink
Remove unnecessary code in GenericParameters.h (#706)
Browse files Browse the repository at this point in the history
Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Nov 18, 2024
1 parent 5afdefd commit 0d053c2
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions include/podio/GenericParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,7 @@ using version_type = uint32_t; // from sio/definitions
} // namespace sio
#endif

#if PODIO_ENABLE_RNTUPLE
namespace podio {
class RNTupleReader;
class RNTupleWriter;
} // namespace podio
#endif

namespace podio {

#if !defined(__CLING__)
// cling doesn't really deal well (i.e. at all in this case) with the forward
// declaration here and errors out, breaking e.g. python bindings.
class ROOTReader;
#endif

/// The types which are supported in the GenericParameters
using SupportedGenericDataTypes = std::tuple<int, float, std::string, double>;
Expand Down Expand Up @@ -140,15 +127,6 @@ class GenericParameters {
friend void readGenericParameters(sio::read_device& device, GenericParameters& parameters, sio::version_type version);
#endif

#if PODIO_ENABLE_RNTUPLE
friend RNTupleReader;
friend RNTupleWriter;
#endif

#if !defined(__CLING__)
friend ROOTReader;
#endif

/// Get a reference to the internal map for a given type
template <typename T>
const MapType<detail::GetVectorType<T>>& getMap() const {
Expand Down

0 comments on commit 0d053c2

Please sign in to comment.