Skip to content

Commit 5c9a00a

Browse files
authored
Make the Module non-movable.
Differential Revision: D61366181 Pull Request resolved: #4746
1 parent add6e2e commit 5c9a00a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/module/module.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ class Module final {
6565
std::unique_ptr<EventTracer> event_tracer = nullptr);
6666
Module(const Module&) = delete;
6767
Module& operator=(const Module&) = delete;
68-
Module(Module&&) = default;
69-
Module& operator=(Module&&) = default;
68+
Module(Module&&) = delete;
69+
Module& operator=(Module&&) = delete;
7070

7171
/**
7272
* Loads the program using the specified data loader and memory allocator.

0 commit comments

Comments
 (0)