diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2020-02-20 15:18:38 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2020-02-20 14:41:27 +0000 |
commit | bad2d31747da3d4dcf7925273fb374291727c359 (patch) | |
tree | 13a5841216897c8fe8491f39e296b7e8c6fb6183 /src/plugins/python/pythonutils.h | |
parent | 1f4028d83455e2404c5203bd3694dc11e08c6312 (diff) | |
download | qt-creator-bad2d31747da3d4dcf7925273fb374291727c359.tar.gz |
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 <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.h')
-rw-r--r-- | src/plugins/python/pythonutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonutils.h b/src/plugins/python/pythonutils.h index e7e7b22500..28d1faf607 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 { |