From bad2d31747da3d4dcf7925273fb374291727c359 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Thu, 20 Feb 2020 15:18:38 +0100 Subject: [PATCH] Python: Fix MSVCs struct vs. class (forward) declaration warning src\plugins\python\pythonutils.cpp(67): warning C4099: 'Python::Internal::PythonLanguageServerState': type name first seen using 'class' now seen using 'struct' src\plugins\python\pythonutils.cpp(66): note: see declaration of 'Python::Internal::PythonLanguageServerState' Change-Id: Ibec8b0b990ee88fcd274961db4c8d8d0ee29533a Reviewed-by: Christian Stenger --- src/plugins/python/pythonutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/python/pythonutils.h b/src/plugins/python/pythonutils.h index e7e7b225008..28d1faf6074 100644 --- a/src/plugins/python/pythonutils.h +++ b/src/plugins/python/pythonutils.h @@ -40,7 +40,7 @@ namespace TextEditor { class TextDocument; } namespace Python { namespace Internal { -class PythonLanguageServerState; +struct PythonLanguageServerState; class PyLSConfigureAssistant : public QObject {