Skip to content

Commit fbff507

Browse files
committed
minor fix
1 parent f323269 commit fbff507

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/providers/sqc_backend.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ class SQCBackend : public BackendV2 {
115115
run_options->qubits = qc_handle_->qubits;
116116
run_options->outFormat = SQC_OUT_RAW; // @TODO
117117

118-
std::unique_ptr<sqcOut> result(new sqcOut,
119-
[&run_options](sqcOut* out) { sqcFreeOut(out, run_options->outFormat); });
118+
std::unique_ptr<sqcOut> result(new sqcOut, [](sqcOut* out) { sqcFreeOut(out, SQC_OUT_RAW); });
120119
int error_code = sqcQCRun(qc_handle_, backend_type_, *run_options, result);
121120

122121
if(error_code != SQC_RESULT_OK)

0 commit comments

Comments
 (0)