Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Mar 21, 2024
1 parent 15fe391 commit d80504b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nano/node/election.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <nano/node/election_behavior.hpp>
#include <nano/node/election_status.hpp>
#include <nano/node/vote_with_weight_info.hpp>
#include <nano/secure/common.hpp>

#include <atomic>
#include <chrono>
Expand Down Expand Up @@ -42,7 +43,7 @@ struct election_extended_status final
void operator() (nano::object_stream &) const;
};

class election final : public std::enable_shared_from_this<nano::election>
class election final : public std::enable_shared_from_this<election>
{
nano::id_t const id{ nano::next_id () }; // Track individual objects when tracing

Expand Down

0 comments on commit d80504b

Please sign in to comment.