mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Coding standard
This commit is contained in:
parent
76d6c6cac5
commit
b2dd53ac43
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@ Resource::Size Resource::Sysmem::allocateMemory(Byte** dataAllocated, Size size)
|
|||
newSize = size;
|
||||
try {
|
||||
(*dataAllocated) = new Byte[newSize];
|
||||
}
|
||||
catch (const std::bad_alloc&) {
|
||||
} catch (const std::bad_alloc&) {
|
||||
qWarning() << "Buffer::Sysmem::allocate() : Can't allocate a system memory buffer of " << newSize << "bytes. Fails to create the buffer Sysmem.";
|
||||
return NOT_ALLOCATED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue