clean: remove debug print
This commit is contained in:
parent
6b0f99d5ad
commit
62c7107233
@ -42,7 +42,6 @@ static int get_quantity(std::string& str)
|
|||||||
quantity = quantity * 10 + str[i] - '0';
|
quantity = quantity * 10 + str[i] - '0';
|
||||||
len++;
|
len++;
|
||||||
}
|
}
|
||||||
std::cout << str << std::endl;
|
|
||||||
str.erase(i - len, len);
|
str.erase(i - len, len);
|
||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
@ -50,7 +49,6 @@ static int get_quantity(std::string& str)
|
|||||||
int get_article_data(std::string& str, unsigned int& quantity, float& price)
|
int get_article_data(std::string& str, unsigned int& quantity, float& price)
|
||||||
{
|
{
|
||||||
price = get_price(str);
|
price = get_price(str);
|
||||||
std::cout << str << std::endl;
|
|
||||||
quantity = get_quantity(str);
|
quantity = get_quantity(str);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user