mirror of
https://github.com/corda/corda.git
synced 2025-03-16 09:05:30 +00:00
fix posix build breakage
This commit is contained in:
parent
e145d09523
commit
1c948652fd
@ -403,7 +403,7 @@ class MySystem: public System {
|
||||
}
|
||||
|
||||
virtual void* tryAllocate(unsigned size) {
|
||||
ACQUIRE(&mutex);
|
||||
ACQUIRE(mutex);
|
||||
|
||||
if (Verbose) {
|
||||
fprintf(stderr, "try %d; count: %d; limit: %d\n",
|
||||
@ -426,7 +426,7 @@ class MySystem: public System {
|
||||
}
|
||||
|
||||
virtual void free(const void* p) {
|
||||
ACQUIRE(&mutex);
|
||||
ACQUIRE(mutex);
|
||||
|
||||
if (p) {
|
||||
const uintptr_t* up = static_cast<const uintptr_t*>(p) - 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user