From a9c81e5531248b7354dc51c36289d2fc74cbaea4 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Sat, 26 Nov 2022 23:38:32 -0500 Subject: [PATCH] bees: drop m_parent_ctx It has not been used since 2016. Also drop the explicit default constructor. Signed-off-by: Zygo Blaxell --- src/bees.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bees.h b/src/bees.h index b79ecd3..7dc7434 100644 --- a/src/bees.h +++ b/src/bees.h @@ -723,8 +723,6 @@ struct BeesHalt : exception { }; class BeesContext : public enable_shared_from_this { - shared_ptr m_parent_ctx; - Fd m_home_fd; shared_ptr m_fd_cache; @@ -765,7 +763,6 @@ class BeesContext : public enable_shared_from_this { void rewrite_file_range(const BeesFileRange &bfr); public: - BeesContext() = default; void set_root_path(string path);