Daniele Bartolini 3 лет назад
Родитель
Сommit
69f85fac0a
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      src/core/process.h

+ 6 - 0
src/core/process.h

@@ -37,6 +37,12 @@ struct Process
 	///
 	~Process();
 
+	///
+	Process(const Process &) = delete;
+
+	///
+	Process &operator=(const Process &) = delete;
+
 	/// Spawns the process described by @a argv with the given @a flags.
 	/// Returns 0 on success, non-zero otherwise.
 	s32 spawn(const char * const *argv, u32 flags = 0);