diff --git a/extension/module/module.h b/extension/module/module.h index 45ed38a7ff2..fe9a62e0cc2 100644 --- a/extension/module/module.h +++ b/extension/module/module.h @@ -38,6 +38,15 @@ class Module { MmapUseMlockIgnoreErrors, }; + struct MethodHolder { + std::vector> planned_buffers; + std::vector> planned_spans; + std::unique_ptr planned_memory; + std::unique_ptr memory_manager; + std::unique_ptr method; + std::vector inputs; + }; + /** * Constructs an instance by loading a program from a file with specified * memory locking behavior. @@ -423,16 +432,6 @@ class Module { return event_tracer_.get(); } - private: - struct MethodHolder { - std::vector> planned_buffers; - std::vector> planned_spans; - std::unique_ptr planned_memory; - std::unique_ptr memory_manager; - std::unique_ptr method; - std::vector inputs; - }; - private: std::string file_path_; LoadMode load_mode_{LoadMode::MmapUseMlock};