mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 02:28:11 +08:00 
			
		
		
		
	Delete copy constructor and copy operator (#638)
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
		| @@ -29,6 +29,12 @@ class ComponentBase { | ||||
|   // virtual Destructor. | ||||
|   virtual ~ComponentBase(); | ||||
|  | ||||
|   ComponentBase() = default; | ||||
|  | ||||
|   // A component is not copiable. | ||||
|   ComponentBase(const ComponentBase&) = delete; | ||||
|   void operator=(const ComponentBase&) = delete; | ||||
|  | ||||
|   // Component hierarchy: | ||||
|   ComponentBase* Parent() const; | ||||
|   Component& ChildAt(size_t i); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nick Fistere
					Nick Fistere