aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/bootstrap_node_selector.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-04-15 21:12:03 +0000
committerxiphon <xiphon@protonmail.com>2020-04-15 21:22:55 +0000
commitd2d3a81d0e1ab88e50eb5c82e3e142e38235a546 (patch)
tree6ebfdf4aa02cacffad534cdc98eb0e1899cdd1af /src/rpc/bootstrap_node_selector.h
parentMerge pull request #6397 (diff)
downloadmonero-d2d3a81d0e1ab88e50eb5c82e3e142e38235a546.tar.xz
bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning)
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;
};