Commit a3dbbeb7 authored by Nguyen, Thien's avatar Nguyen, Thien
Browse files

Added <optional> header include



Required for gcc11+ due to header file re-structuring.
Signed-off-by: Nguyen, Thien's avatarThien Nguyen <nguyentm@ornl.gov>
parent 23581f9a
......@@ -13,6 +13,7 @@
#include <iostream>
#include <map>
#include <vector>
#include <optional>
#include "Quantum/QuantumOps.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h"
......
......@@ -20,6 +20,7 @@
#include "mlir/Transforms/DialectConversion.h"
#include "mlir/Transforms/Passes.h"
#include <iostream>
#include <optional>
namespace qcor {
void CPhaseRotationMergingPass::getDependentDialects(
......
......@@ -20,6 +20,7 @@
#include "mlir/Transforms/DialectConversion.h"
#include "mlir/Transforms/Passes.h"
#include <iostream>
#include <optional>
namespace qcor {
bool RotationMergingPass::should_combine(const std::string &name1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment