From d80504bac700ee90300bd7029058344cac05534f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:28:42 +0100 Subject: [PATCH] Fix compilation --- nano/node/election.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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