♻️🐛 Refactor qc::Permutation
and fix corner case in Qiskit layout import
#3522
Annotations
1 error and 5 warnings
Fail if linter found errors
Process completed with exit code 1.
|
Run cpp-linter:
include/mqt-core/ir/Permutation.hpp#L34
no header providing "std::initializer_list" is directly included
|
Run cpp-linter:
include/mqt-core/ir/Permutation.hpp#L34
no header providing "std::pair" is directly included
|
Run cpp-linter:
include/mqt-core/ir/Permutation.hpp#L131
std::move of the variable 'value' of the trivially-copyable type 'std::pair<const Qubit, Qubit>' (aka 'pair<const unsigned int, unsigned int>') has no effect; remove std::move()
|
Run cpp-linter:
include/mqt-core/ir/Permutation.hpp#L131
no header providing "std::move" is directly included
|
Run cpp-linter:
include/mqt-core/ir/Permutation.hpp#L148
invalid case style for method 'try_emplace'
|
Loading