Skip to content

Commit

Permalink
Update example API to include serialization function
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Aug 14, 2024
1 parent 6e2428e commit 71dc824
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c++/app4triqs/app4triqs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ namespace app4triqs {
friend void h5_read(h5::group grp, std::string subgroup_name, toto &m);

/// Serialization
template <class Archive> void serialize(Archive &ar) { ar &i; }
void serialize(auto &ar) const { ar &i; }
void deserialize(auto &ar) { ar &i; }
};

/**
Expand Down

0 comments on commit 71dc824

Please sign in to comment.