0
Исправлено

A small mistake in Flyweight in c++

dengyueyun666 3 года назад обновлен Alexander Shvets 3 года назад 1

In the function of AddCarToPoliceDatabase, the last line is

flyweight.Operation({plates, owner});

I think this line should be change to 

flyweight.Operation({owner, plates});

In this way, the order of parameters are consistent with UniqueState constructor.

Сервис поддержки клиентов работает на платформе UserEcho