[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:
Katayama Hirofumi MZ 2024-01-03 16:45:23 +09:00 committed by GitHub
parent 6cde331a89
commit b48e77e15b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 16 deletions

View file

@ -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;