Skip to content

Commit

Permalink
Make the Module non-movable.
Browse files Browse the repository at this point in the history
Differential Revision: D61366181

Pull Request resolved: #4746
  • Loading branch information
shoumikhin authored Aug 16, 2024
1 parent add6e2e commit 5c9a00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/module/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class Module final {
std::unique_ptr<EventTracer> event_tracer = nullptr);
Module(const Module&) = delete;
Module& operator=(const Module&) = delete;
Module(Module&&) = default;
Module& operator=(Module&&) = default;
Module(Module&&) = delete;
Module& operator=(Module&&) = delete;

/**
* Loads the program using the specified data loader and memory allocator.
Expand Down

0 comments on commit 5c9a00a

Please sign in to comment.