1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Cleanup: Add some missing explicit constructors

This commit is contained in:
reuk 2020-04-26 18:21:44 +01:00
parent 4cf66d6522
commit 4292a38327
20 changed files with 46 additions and 46 deletions

View file

@ -31,7 +31,7 @@ namespace
static const String canvasStateOSCAddress = "/juce/nfd/canvasState";
static const String newClientOSCAddress = "/juce/nfd/newClient";
static const String userInputOSCAddress = "/juce/nfd/userInput";
};
}
#include "SharedCanvas.h"
#include "SlaveComponent.h"
@ -84,7 +84,7 @@ public:
//==============================================================================
struct MainWindow : public DocumentWindow
{
MainWindow (PropertiesFile& props)
explicit MainWindow (PropertiesFile& props)
: DocumentWindow ("JUCE Networked Graphics Demo - Master", Colours::white, DocumentWindow::allButtons)
{
setUsingNativeTitleBar (true);
@ -114,7 +114,7 @@ public:
#endif
}
~MainWindow()
~MainWindow() override
{
glContext.detach();
}