mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
bees: drop m_parent_ctx
It has not been used since 2016. Also drop the explicit default constructor. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
942800ad00
commit
a9c81e5531
@ -723,8 +723,6 @@ struct BeesHalt : exception {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class BeesContext : public enable_shared_from_this<BeesContext> {
|
class BeesContext : public enable_shared_from_this<BeesContext> {
|
||||||
shared_ptr<BeesContext> m_parent_ctx;
|
|
||||||
|
|
||||||
Fd m_home_fd;
|
Fd m_home_fd;
|
||||||
|
|
||||||
shared_ptr<BeesFdCache> m_fd_cache;
|
shared_ptr<BeesFdCache> m_fd_cache;
|
||||||
@ -765,7 +763,6 @@ class BeesContext : public enable_shared_from_this<BeesContext> {
|
|||||||
void rewrite_file_range(const BeesFileRange &bfr);
|
void rewrite_file_range(const BeesFileRange &bfr);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BeesContext() = default;
|
|
||||||
|
|
||||||
void set_root_path(string path);
|
void set_root_path(string path);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user