diff --git a/src/Extension/Frame.h b/src/Extension/Frame.h index b3b37a32..7e26dc4b 100644 --- a/src/Extension/Frame.h +++ b/src/Extension/Frame.h @@ -264,7 +264,7 @@ public: void addDelegate(const FrameWriterInterface::Ptr &delegate){ //_delegates_write可能多线程同时操作 lock_guard lck(_mtx); - _delegates_write.emplace(delegate.get(),delegate); + _delegates_write.emplace((void *)delegate.get(),delegate); _need_update = true; }