Skip to content

Commit

Permalink
Fix namespace of ostream operator
Browse files Browse the repository at this point in the history
  • Loading branch information
austinschneider committed Jan 19, 2024
1 parent f5a6020 commit e63847f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

#include "LeptonInjector/dataclasses/InteractionSignature.h"

namespace LI { namespace dataclasses { struct InteractionRecord; } }

std::ostream& operator<<(std::ostream& os, LI::dataclasses::InteractionRecord const& record);

namespace LI {
namespace dataclasses {

Expand All @@ -38,7 +42,7 @@ struct InteractionRecord {
std::vector<double> secondary_helicity;
std::vector<double> interaction_parameters;
bool operator==(InteractionRecord const & other) const;
friend std::ostream& operator<<(std::ostream& os, InteractionRecord const& record);
friend std::ostream& ::operator<<(std::ostream& os, InteractionRecord const& record);
template<class Archive>
void serialize(Archive & archive, std::uint32_t const version) {
if(version == 0) {
Expand Down

0 comments on commit e63847f

Please sign in to comment.