Skip to content

Commit

Permalink
serialization - trying to fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed May 21, 2016
1 parent c6b8f8b commit 327f3df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WBAESGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,8 @@ namespace boost { namespace serialization {
}
template<class Archive> void save(Archive & ar, const NTL::GF2 & t, unsigned int version)
{
ar & ((char)rep(t)); // rep returns long, space optimization, store as 1B (GF2 is boolean)
char c = rep(t);
ar & c; // rep returns long, space optimization, store as 1B (GF2 is boolean)
}
template<class Archive> void load(Archive & ar, NTL::GF2 & t, unsigned int version)
{
Expand Down

0 comments on commit 327f3df

Please sign in to comment.