aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/bootstrap_node_selector.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-05-01 15:47:47 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-05-01 15:47:47 -0500
commitec90f9a54b868403e5c61160ff2b2f98ae4eef9f (patch)
tree2230b5f84d15c61be4f8158549d7fe2b5efe7fc5 /src/rpc/bootstrap_node_selector.h
parentd68497a3e32681f6f951945e6602448f4929cc84 (diff)
parentd2d3a81d0e1ab88e50eb5c82e3e142e38235a546 (diff)
downloadmonzero-core-ec90f9a54b868403e5c61160ff2b2f98ae4eef9f.tar.gz
monzero-core-ec90f9a54b868403e5c61160ff2b2f98ae4eef9f.tar.xz
monzero-core-ec90f9a54b868403e5c61160ff2b2f98ae4eef9f.zip
Merge pull request #6453
d2d3a81 bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) (xiphon)
Diffstat (limited to 'src/rpc/bootstrap_node_selector.h')
-rw-r--r--src/rpc/bootstrap_node_selector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/bootstrap_node_selector.h b/src/rpc/bootstrap_node_selector.h
index fc993719b..47722a008 100644
--- a/src/rpc/bootstrap_node_selector.h
+++ b/src/rpc/bootstrap_node_selector.h
@@ -54,6 +54,8 @@ namespace bootstrap_node
struct selector
{
+ virtual ~selector() = default;
+
virtual void handle_result(const std::string &address, bool success) = 0;
virtual boost::optional<node_info> next_node() = 0;
};