Skip to content

Commit

Permalink
Initialize Flavor f; to keep GCC 7 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Nov 3, 2024
1 parent 96abdb3 commit b6bf644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/append_floating_point_cx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ template<class Hash, class Flavor, class T>
BOOST_CXX14_CONSTEXPR typename Hash::result_type test( T const& v )
{
Hash h;
Flavor f;
Flavor f{};

hash_append( h, f, v );

Expand Down
2 changes: 1 addition & 1 deletion test/append_integer_cx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ template<class Hash, class Flavor, class T>
BOOST_CXX14_CONSTEXPR typename Hash::result_type test( T const& v )
{
Hash h;
Flavor f;
Flavor f{};

hash_append( h, f, v );

Expand Down

0 comments on commit b6bf644

Please sign in to comment.