LINUX.ORG.RU

История изменений

Исправление gag, (текущая версия) :

wiresystem: Replace QList and QVector with std::list and std::vector

 /**
  * Returns a list of all the wires
  */
- QList<std::shared_ptr<wire>>
+ std::vector<std::shared_ptr<wire>>
  * Generates a list of all the wires connected to a certain wire including the
  * wire itself.
  */
- QVector<std::shared_ptr<wire>>
+ std::list<std::shared_ptr<wire>>

https://github.com/simulton/QSchematic/commit/ed841b2ce4214cbb8f7b396cab3081c5c566fc80

Исходная версия gag, :

 /**
  * Returns a list of all the wires
  */
- QList<std::shared_ptr<wire>>
+ std::vector<std::shared_ptr<wire>>
  * Generates a list of all the wires connected to a certain wire including the
  * wire itself.
  */
- QVector<std::shared_ptr<wire>>
+ std::list<std::shared_ptr<wire>>

https://github.com/simulton/QSchematic/commit/ed841b2ce4214cbb8f7b396cab3081c5c566fc80