From 3d9c50dcae485bf48a3b30c0a2a7dd02886be1ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BC=D0=B0?= Date: Fri, 30 Aug 2024 02:27:50 +0400 Subject: [PATCH] d --- .../CollectionGenericObjects/AbstractCompany.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs index 16ff6f7..3547f82 100644 --- a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs +++ b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs @@ -57,11 +57,11 @@ namespace ProjectLocomotive.CollectionGenericObjects /// Перегрузка оператора сложения для класса /// /// Компания - /// Добавляемый объект + /// Добавляемый объект /// - public static int operator +(AbstractCompany company, DrawningLocomotive сruiser) + public static int operator +(AbstractCompany company, DrawningLocomotive locomotive) { - return company._collection.Insert(сruiser); + return company._collection.Insert(locomotive); } ///