From aed6c6c4e898e65774ecb113a3614fd9f2e8c02a Mon Sep 17 00:00:00 2001 From: Arklightning Date: Sun, 15 Jan 2023 17:22:39 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B16=20=D1=84=D0=B8=D0=BD=D0=B0?= =?UTF-8?q?=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Trolleybus/Trolleybus/MapWithSetTrolleybusGeneric.cs | 2 +- Trolleybus/Trolleybus/SetTrolleybusGeneric.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Trolleybus/Trolleybus/MapWithSetTrolleybusGeneric.cs b/Trolleybus/Trolleybus/MapWithSetTrolleybusGeneric.cs index 9512a3f..5b289b9 100644 --- a/Trolleybus/Trolleybus/MapWithSetTrolleybusGeneric.cs +++ b/Trolleybus/Trolleybus/MapWithSetTrolleybusGeneric.cs @@ -8,7 +8,7 @@ using System.Drawing; namespace Trolleybus { internal class MapWithSetTrolleybusGeneric - where T : class, IDrawningObject + where T : class, IDrawningObject, IEquatable where U : AbstractMap { /// diff --git a/Trolleybus/Trolleybus/SetTrolleybusGeneric.cs b/Trolleybus/Trolleybus/SetTrolleybusGeneric.cs index 098b1be..4583421 100644 --- a/Trolleybus/Trolleybus/SetTrolleybusGeneric.cs +++ b/Trolleybus/Trolleybus/SetTrolleybusGeneric.cs @@ -8,7 +8,7 @@ namespace Trolleybus { // Параметризованный набор объектов internal class SetTrolleybusGeneric - where T : class + where T : class, IEquatable { // Массив объектов, которые храним private readonly List _places;