From 97514085cb6a9fcf6057556f04832a1f55ceafce Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 30 Apr 2020 23:05:13 +0200 Subject: [PATCH] Add operator== --- include/wrenpp/vm.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wrenpp/vm.hpp b/include/wrenpp/vm.hpp index f239a0a..501a9b6 100644 --- a/include/wrenpp/vm.hpp +++ b/include/wrenpp/vm.hpp @@ -45,12 +45,13 @@ namespace wren { class VM { public: - template - VM (T* conf); + template VM (T* conf); VM (const VM&) = delete; VM (VM&& other) = default; ~VM() noexcept; + VM& operator= (VM&&) = default; + void interpret (const char* module_name, const char* script); void call (const Handle& method); void release_handle (Handle& handle) noexcept;