From 530b492b8e1e729b19656f637ca36095f9d98df2 Mon Sep 17 00:00:00 2001 From: leftibot Date: Sat, 11 Apr 2026 13:59:12 -0600 Subject: [PATCH] Address review: follow rule of 5, explicitly default move operations Requested by @lefticus in PR #656 review. Co-Authored-By: Claude Opus 4.6 (1M context) --- include/chaiscript/dispatchkit/dispatchkit.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/chaiscript/dispatchkit/dispatchkit.hpp b/include/chaiscript/dispatchkit/dispatchkit.hpp index bb2000a1..95627dbc 100644 --- a/include/chaiscript/dispatchkit/dispatchkit.hpp +++ b/include/chaiscript/dispatchkit/dispatchkit.hpp @@ -377,6 +377,8 @@ namespace chaiscript { Dispatch_Engine(const Dispatch_Engine &) = delete; Dispatch_Engine &operator=(const Dispatch_Engine &) = delete; + Dispatch_Engine(Dispatch_Engine &&) = default; + Dispatch_Engine &operator=(Dispatch_Engine &&) = default; #ifndef CHAISCRIPT_NO_THREADS /// Track an async thread so it can be joined during destruction