From 5f62b1bd52bd691a16218d57891fc424cf166394 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 10 Nov 2022 12:05:06 +0200 Subject: [PATCH] QSharedPointer::get() was introduced in Qt 5.11. --- src/libs/vdxf/vdxfengine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vdxf/vdxfengine.cpp b/src/libs/vdxf/vdxfengine.cpp index 872e523e5..ec782ca59 100644 --- a/src/libs/vdxf/vdxfengine.cpp +++ b/src/libs/vdxf/vdxfengine.cpp @@ -728,7 +728,7 @@ auto VDxfEngine::ExportToAAMA(const QVector &details) -> bool ExportPieceText(detailBlock, detail); ExportAAMADrill(detailBlock, detail); - m_input->AddBlock(detailBlock.get()); + m_input->AddBlock(detailBlock.data()); QScopedPointer insert(new DRW_Insert()); insert->name = blockName.toStdString(); @@ -946,7 +946,7 @@ auto VDxfEngine::ExportToASTM(const QVector &details) -> bool ExportASTMDrill(detailBlock, detail); ExportASTMAnnotationText(detailBlock, detail); - m_input->AddBlock(detailBlock.get()); + m_input->AddBlock(detailBlock.data()); QScopedPointer insert(new DRW_Insert()); insert->name = blockName.toStdString();