forked from qt-creator/qt-creator
KSyntaxHighlighting: Fix inconsistent linkage warning on MSVC
src\lib\state.h(65): warning C4273: 'KSyntaxHighlighting::qHash': inconsistent dll linkage src\lib\state.h(20): note: see previous definition of 'KSyntaxHighlighting::qHash' Upstream MR: https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/668 Change-Id: I0cd668fb53e8135f27134b5916aa1ebd119922be Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
2f67ec63eb
commit
f48b7e8da0
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
private:
|
||||
friend class StateData;
|
||||
friend std::size_t qHash(const State &, std::size_t);
|
||||
friend KSYNTAXHIGHLIGHTING_EXPORT std::size_t qHash(const State &, std::size_t);
|
||||
QExplicitlySharedDataPointer<StateData> d;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user