diff --git a/nano/node/election.hpp b/nano/node/election.hpp index b6b844d63f..6f8b61ca6f 100644 --- a/nano/node/election.hpp +++ b/nano/node/election.hpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -42,7 +43,7 @@ struct election_extended_status final void operator() (nano::object_stream &) const; }; -class election final : public std::enable_shared_from_this +class election final : public std::enable_shared_from_this { nano::id_t const id{ nano::next_id () }; // Track individual objects when tracing