Skip to content

Commit e8e1944

Browse files
committed
[LINT] error 1712
Default constructor not defined for class 'Name' Also fixed a typo in a previous comment. Signed-off-by: Jocelyn Legault <jocelynlegault@gmail.com>
1 parent 6afd53a commit e8e1944

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

PythonScript/src/ConsoleDialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ConsoleDialog : public DockingDlgInterface
3535
BOOL CALLBACK run_dlgProc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam);
3636

3737
private:
38-
ConsoleDialog& operator = (const ConsoleDialog&); // Disable assignment operator disabled
38+
ConsoleDialog& operator = (const ConsoleDialog&); // assignment operator disabled
3939

4040
void createOutputWindow(HWND hParentWindow);
4141
void runStatement();

PythonScript/src/PythonHandler.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ struct RunScriptArgs
3636
bool m_synchronous;
3737
HANDLE m_completedEvent;
3838
bool m_isStatement;
39+
private:
40+
RunScriptArgs(); // default constructor disabled
3941
};
4042

4143

0 commit comments

Comments
 (0)