mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 13:53:38 +02:00
Fix missing brace in namespace
This commit is contained in:
parent
91da4229ac
commit
7fbaa77c0b
1 changed files with 4 additions and 2 deletions
|
@ -72,9 +72,11 @@ void outOfBoundsVectorCrash() {
|
|||
void newFault() {
|
||||
qDebug() << "About to crash inside new fault";
|
||||
// Force crash with large allocation
|
||||
int* crash = new int[std::numeric_limits<uint64_t>::max()];
|
||||
int* data = new int[std::numeric_limits<uint64_t>::max()];
|
||||
// Use variable to suppress warning
|
||||
crash[0] = 0;
|
||||
data[0] = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif // hifi_CrashHelpers_h
|
||||
|
|
Loading…
Reference in a new issue