Skip to content

Commit 4763ae8

Browse files
committed
[LINT] error 1411
Member with different signature hides virtual member 'Symbol' (Location) Signed-off-by: Jocelyn Legault <[email protected]>
1 parent ee375f1 commit 4763ae8

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

PythonScript/src/AboutDialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AboutDialog : public StaticDialog
1313
AboutDialog(void);
1414
~AboutDialog(void);
1515

16-
void init(HINSTANCE hInst, NppData& nppData);
16+
void initDialog(HINSTANCE hInst, NppData& nppData);
1717

1818
void doDialog();
1919

PythonScript/src/AboutDialog2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ BOOL CALLBACK AboutDialog::run_dlgProc(HWND hWnd, UINT Message, WPARAM wParam, L
7979

8080
}
8181

82-
void AboutDialog::init( HINSTANCE hInst, NppData& nppData )
82+
void AboutDialog::initDialog( HINSTANCE hInst, NppData& nppData )
8383
{
8484
Window::init(hInst, nppData._nppHandle);
8585
}

PythonScript/src/ConsoleDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ConsoleDialog::~ConsoleDialog()
3939
}
4040

4141

42-
void ConsoleDialog::init(HINSTANCE hInst, NppData& nppData, ConsoleInterface* console)
42+
void ConsoleDialog::initDialog(HINSTANCE hInst, NppData& nppData, ConsoleInterface* console)
4343
{
4444
DockingDlgInterface::init(hInst, nppData._nppHandle);
4545

PythonScript/src/ConsoleDialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ConsoleDialog : public DockingDlgInterface
1919
~ConsoleDialog();
2020

2121

22-
void init(HINSTANCE hInst, NppData& nppData, ConsoleInterface *console);
22+
void initDialog(HINSTANCE hInst, NppData& nppData, ConsoleInterface *console);
2323

2424
void doDialog();
2525
void hide();

PythonScript/src/PythonConsole.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ PythonConsole::~PythonConsole()
4343

4444
void PythonConsole::init(HINSTANCE hInst, NppData& nppData)
4545
{
46-
mp_consoleDlg->init(hInst, nppData, this);
46+
mp_consoleDlg->initDialog(hInst, nppData, this);
4747
*m_nppData = nppData;
4848
mp_scintillaWrapper->setHandle(mp_consoleDlg->getScintillaHwnd());
4949
}

PythonScript/src/PythonScript.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ void initialise()
222222

223223
pythonHandler = new PythonHandler(g_pluginDir, g_configDir, (HINSTANCE)g_hModule, nppData._nppHandle, nppData._scintillaMainHandle, nppData._scintillaSecondHandle, g_console);
224224

225-
aboutDlg.init((HINSTANCE)g_hModule, nppData);
225+
aboutDlg.initDialog((HINSTANCE)g_hModule, nppData);
226226

227227
g_shortcutDlg = new ShortcutDlg((HINSTANCE)g_hModule, nppData, _T("\\PythonScript\\scripts"));
228228

PythonScript/src/ScintillaWrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct SCNotification;
1919

2020
struct out_of_bounds_exception : public std::exception
2121
{
22-
char const* what() throw() { return "Out of bounds exception"; }
22+
char const* what() const throw() { return "Out of bounds exception"; }
2323
};
2424
namespace PythonScript
2525
{

0 commit comments

Comments
 (0)