From 3f9e9a2b25e1698d69ee898f9f2252767a943908 Mon Sep 17 00:00:00 2001 From: Wiktor Garbacz Date: Thu, 3 Aug 2023 06:20:21 -0700 Subject: [PATCH] Make Namespace copyable, movable and copy/move assignable There is no strong reason why this shouln't be the case. Some future refactorings will depend on this. PiperOrigin-RevId: 553456024 Change-Id: I452a2804c59ed006326ab37cbe0dec80f53cd714 --- sandboxed_api/sandbox2/namespace.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sandboxed_api/sandbox2/namespace.h b/sandboxed_api/sandbox2/namespace.h index bded25c..0e38ab5 100644 --- a/sandboxed_api/sandbox2/namespace.h +++ b/sandboxed_api/sandbox2/namespace.h @@ -38,10 +38,6 @@ class Namespace final { bool allow_mount_propagation); static void InitializeInitialNamespaces(uid_t uid, gid_t gid); - Namespace() = delete; - Namespace(const Namespace&) = delete; - Namespace& operator=(const Namespace&) = delete; - Namespace(bool allow_unrestricted_networking, Mounts mounts, std::string hostname, bool allow_mount_propagation);