Skip to content

Commit

Permalink
🚨 fix compiler warning on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Aug 11, 2024
1 parent d2be6dd commit 34c57c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/QASM3Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class OpenQasm3Parser final : public InstVisitor {
}

for (uint64_t i = 0; i < qubit.second; ++i) {
qubits.emplace_back(qubit.first + i);
qubits.emplace_back(static_cast<qc::Qubit>(qubit.first + i));
}
}

Expand Down

0 comments on commit 34c57c6

Please sign in to comment.