1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Make static data members inline

This commit is contained in:
reuk 2025-06-17 14:35:42 +01:00
parent 6bc274286f
commit 9b9b98bc8f
No known key found for this signature in database

View file

@ -1984,7 +1984,7 @@ public:
//==============================================================================
bool dontRepaint;
static ModifierKeys modifiersAtLastCallback;
static inline ModifierKeys modifiersAtLastCallback;
//==============================================================================
struct FileDropTarget final : public ComBaseClassHelper<IDropTarget>
@ -2250,7 +2250,7 @@ private:
bool isAccessibilityActive = false;
//==============================================================================
static MultiTouchMapper<DWORD> currentTouches;
static inline MultiTouchMapper<DWORD> currentTouches;
//==============================================================================
class WindowClassHolder final : private DeletedAtShutdown
@ -4738,9 +4738,6 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (HWNDComponentPeer)
};
MultiTouchMapper<DWORD> HWNDComponentPeer::currentTouches;
ModifierKeys HWNDComponentPeer::modifiersAtLastCallback;
ComponentPeer* Component::createNewPeer (int styleFlags, void* parentHWND)
{
return new HWNDComponentPeer { *this, styleFlags, (HWND) parentHWND, false, 1 };