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:
parent
6bc274286f
commit
9b9b98bc8f
1 changed files with 2 additions and 5 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue