mirror of
https://github.com/reactos/reactos.git
synced 2025-06-18 09:55:45 +00:00
[CTFMON][MSCTFIME][SDK] Define new(cicNoThrow) and use it (#6286)
Use new(cicNoThrow) instead of plain operator new. JIRA issue: CORE-19360 - Define CicNoThrow structure and cicNoThrow macro in <cicero/cicbase.h>. - Use new(cicNoThrow) instead of plain operator new.
This commit is contained in:
parent
6cde331a89
commit
b48e77e15b
3 changed files with 29 additions and 16 deletions
|
@ -224,7 +224,7 @@ InitApp(
|
|||
CRegWatcher::Init();
|
||||
|
||||
// Create Tipbar loader window
|
||||
g_pLoaderWnd = new CLoaderWnd();
|
||||
g_pLoaderWnd = new(cicNoThrow) CLoaderWnd();
|
||||
if (!g_pLoaderWnd || !g_pLoaderWnd->Init())
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue