mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 22:41:30 +00:00
Update GildedRose.cc
This commit is contained in:
parent
0f815e5e1e
commit
2171e480c8
@ -14,7 +14,7 @@ void updateQuality(int q, int value)
|
|||||||
|
|
||||||
void GildedRose::updateData()
|
void GildedRose::updateData()
|
||||||
{
|
{
|
||||||
for (auto &item: this->items)
|
for (auto &item: items)
|
||||||
{
|
{
|
||||||
item.sellIn -= (item.name == "Sulfuras, Hand of Ragnaros") ? 0 : 1;
|
item.sellIn -= (item.name == "Sulfuras, Hand of Ragnaros") ? 0 : 1;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user