Skip to content

Commit

Permalink
Add friends for Generic Parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed May 30, 2023
1 parent f93202a commit cca2e85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions include/podio/GenericParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ class write_device;
using version_type = uint32_t; // from sio/definitions
} // namespace sio

namespace podio {
class ROOTNTupleReader;
class ROOTNTupleWriter;
} // namespace podio

#define DEPR_NON_TEMPLATE \
[[deprecated("Non-templated access will be removed. Switch to templated access functionality")]]

Expand Down Expand Up @@ -145,6 +150,8 @@ class GenericParameters {

friend void writeGenericParameters(sio::write_device& device, const GenericParameters& parameters);
friend void readGenericParameters(sio::read_device& device, GenericParameters& parameters, sio::version_type version);
friend ROOTNTupleReader;
friend ROOTNTupleWriter;

/// Get a reference to the internal map for a given type
template <typename T>
Expand Down
1 change: 0 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ set(root_dependent_tests
read_frame_legacy_root.cpp
read_frame_root_multiple.cpp
)
)
if(ENABLE_RNTUPLE)
set(root_dependent_tests
${root_dependent_tests}
Expand Down

0 comments on commit cca2e85

Please sign in to comment.