mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Fixed issue with CoWork & callback
git-svn-id: svn://ultimatepp.org/upp/trunk@9763 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
aadcb59f58
commit
f7579e876c
2 changed files with 1 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ public:
|
|||
|
||||
public:
|
||||
void Do(Function<void ()>&& fn);
|
||||
void Do(const Callback& cb) { Do(clone(cb)); }
|
||||
void Do(const Callback& cb) { Do(Function<void ()>(clone(cb))); }
|
||||
void Do(const Function<void ()>& fn) { Do(clone(fn)); }
|
||||
|
||||
CoWork& operator&(const Callback& cb) { Do(cb); return *this; }
|
||||
|
|
|
|||
|
|
@ -308,7 +308,6 @@ void *MemoryAllok__(int klass)
|
|||
return heap->Allok(klass);
|
||||
}
|
||||
|
||||
|
||||
#if defined(HEAPDBG)
|
||||
|
||||
void *MemoryAlloc_(size_t sz)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue