Skip to content

Commit

Permalink
Fix Mac 12 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Nov 5, 2024
1 parent 19f1924 commit 4f44e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/qhybrid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class QHybrid : public QEngine {
complex phaseFactor;
std::vector<int64_t> deviceIDs;

using QEngine::Copy;
void Copy(QInterfacePtr orig) { Copy(std::dynamic_pointer_cast<QHybrid>(orig)); }
void Copy(QHybridPtr orig)
{
Expand Down

0 comments on commit 4f44e24

Please sign in to comment.