Fix missing brace in namespace

This commit is contained in:
Ryan Huffman 2016-04-13 10:24:14 -07:00
parent 91da4229ac
commit 7fbaa77c0b

View file

@ -72,9 +72,11 @@ void outOfBoundsVectorCrash() {
void newFault() { void newFault() {
qDebug() << "About to crash inside new fault"; qDebug() << "About to crash inside new fault";
// Force crash with large allocation // 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 // Use variable to suppress warning
crash[0] = 0; data[0] = 0;
}
} }
#endif // hifi_CrashHelpers_h #endif // hifi_CrashHelpers_h