mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a compiler warning
This commit is contained in:
parent
098827cc5e
commit
230588cbf9
1 changed files with 4 additions and 4 deletions
|
|
@ -1331,10 +1331,10 @@ public:
|
|||
void detachHostWindow()
|
||||
{
|
||||
#if JUCE_MAC
|
||||
if (hostWindow != 0)
|
||||
if (hostWindow != nullptr)
|
||||
{
|
||||
detachComponentFromWindowRefVST (this, hostWindow, wrapper.useNSView);
|
||||
hostWindow = 0;
|
||||
hostWindow = nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -1346,7 +1346,7 @@ public:
|
|||
void checkVisibility()
|
||||
{
|
||||
#if JUCE_MAC
|
||||
if (hostWindow != 0)
|
||||
if (hostWindow != nullptr)
|
||||
checkWindowVisibilityVST (hostWindow, this, wrapper.useNSView);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -1563,7 +1563,7 @@ public:
|
|||
bool shouldResizeEditor = true;
|
||||
|
||||
#if JUCE_MAC
|
||||
void* hostWindow = {};
|
||||
void* hostWindow = nullptr;
|
||||
#elif JUCE_LINUX
|
||||
ScopedXDisplay display;
|
||||
Window hostWindow = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue