1
This commit is contained in:
parent
f005fd9362
commit
7b6ff961bc
@ -23,9 +23,7 @@
|
||||
class Context : public BtContext \
|
||||
{public: \
|
||||
__VA_ARGS__; \
|
||||
std::function<void()> _destory_cb; \
|
||||
long long frameno = 0; \
|
||||
~Context() { if (_destory_cb) { _destory_cb(); };}; \
|
||||
}; \
|
||||
auto context = std::make_shared<Context>(); \
|
||||
context->frameno = agent->GetRoom()->GetFrameNo(); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user