From f8e14c9fce881e6cd2f313568b09532883e20907 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Thu, 1 Feb 2024 17:27:15 +0100 Subject: [PATCH] GLSLEditor: Replace QSharedPointer with std::shared_ptr According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews QSharedPointer impl is poor and it's going to be removed from Qt 7. Change-Id: I4fe1d82d7aa610b4ee40864bec029bf0e68e5096 Reviewed-by: hjk --- src/plugins/glsleditor/glslcompletionassist.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/glsleditor/glslcompletionassist.h b/src/plugins/glsleditor/glslcompletionassist.h index 48c18e85dae..d8ca8ac3598 100644 --- a/src/plugins/glsleditor/glslcompletionassist.h +++ b/src/plugins/glsleditor/glslcompletionassist.h @@ -10,8 +10,6 @@ #include #include -#include - namespace GLSL { class Engine; class Function; @@ -27,7 +25,7 @@ namespace Internal { class Document { public: - using Ptr = QSharedPointer; + using Ptr = std::shared_ptr; ~Document();