From f8ca5ab33377fb5f3e81c44197c7c811e4428267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 21 Mar 2021 18:42:21 +0100 Subject: [PATCH] ksys/chm: Make Root non-copyable for safety reasons --- src/KingSystem/Chemical/chmRoot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/KingSystem/Chemical/chmRoot.h b/src/KingSystem/Chemical/chmRoot.h index 09c0c1f9..5255903c 100644 --- a/src/KingSystem/Chemical/chmRoot.h +++ b/src/KingSystem/Chemical/chmRoot.h @@ -44,6 +44,8 @@ class Root : public agl::utl::ParameterList, public sead::hostio::Node, public I public: Root(); ~Root() override; + Root(const Root&) = delete; + auto operator=(const Root&) = delete; void parse(const agl::utl::ResParameterList& res_list, sead::Heap* heap);