mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refactor: Rename remaining "black" identifiers
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "misc/threadutils.h"
|
||||
#include "config/buildconfig.h"
|
||||
|
||||
#ifdef BLACK_USE_CRASHPAD
|
||||
#ifdef SWIFT_USE_CRASHPAD
|
||||
# include "crashpad/client/simulate_crash.h"
|
||||
#endif
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace swift::misc
|
||||
qApp->installNativeEventFilter(&ef);
|
||||
MessageBoxW(nullptr, message.toStdWString().c_str(), nullptr, MB_OK); // display assert dialog in release build
|
||||
qApp->removeNativeEventFilter(&ef);
|
||||
# if defined(BLACK_USE_CRASHPAD)
|
||||
# if defined(SWIFT_USE_CRASHPAD)
|
||||
CRASHPAD_SIMULATE_CRASH(); // workaround inability to catch __fastfail
|
||||
# endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user