mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Revert for loop
This commit is contained in:
parent
fd3c771f45
commit
3336ab4769
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ COpndCommand CommandDeserializer::DeserializeOperand()
|
|||
std::shared_ptr<std::vector<int>> cmdVector = std::make_shared<std::vector<int>>();
|
||||
auto cmdVectorSize = m_dataReader->ReadUInt32();
|
||||
|
||||
for (auto j = cmdVectorSize; j > 0; --j)
|
||||
for (unsigned int j = 0; j < cmdVectorSize; ++j)
|
||||
{
|
||||
int eachOpndcmd = m_dataReader->ReadInt32();
|
||||
cmdVector->push_back(eachOpndcmd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue