Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Sep 12, 2023
1 parent be198bf commit 6f31fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nano/core_test/election.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ TEST (election, destructor_observer)
{
nano::test::system system (1);
auto & node = *system.nodes[0];
auto election = std::make_shared<nano::election> (node, nano::dev::genesis, [] (auto const &) {}, [] (auto const &) {}, nano::election_behavior::normal);
auto election = std::make_shared<nano::election> (
node, nano::dev::genesis, [] (auto const &) {}, [] (auto const &) {}, nano::election_behavior::normal);
election->destructor_observers.add ([&destroyed] (auto const & qualified_root) {
destroyed = true;
});
Expand Down

0 comments on commit 6f31fa5

Please sign in to comment.