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';
|
||||
len++;
|
||||
}
|
||||
std::cout << str << std::endl;
|
||||
str.erase(i - len, len);
|
||||
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)
|
||||
{
|
||||
price = get_price(str);
|
||||
std::cout << str << std::endl;
|
||||
quantity = get_quantity(str);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user