mirror of
https://gitee.com/openharmony/multimedia_av_codec
synced 2025-01-19 05:43:14 +00:00
shared指针编译错误纠正
Signed-off-by: yj <yujie57@huawei.com>
This commit is contained in:
parent
b19fae7bb9
commit
6164c0269b
@ -25,7 +25,7 @@
|
||||
|
||||
namespace OHOS {
|
||||
namespace Media {
|
||||
class ICodecService : public std::enable_shared_from_this<ICodecService> {
|
||||
class ICodecService {
|
||||
public:
|
||||
virtual ~ICodecService() = default;
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
namespace OHOS {
|
||||
namespace Media {
|
||||
|
||||
class CodecServer : public ICodecService, public NoCopyable {
|
||||
class CodecServer : public std::enable_shared_from_this<CodecServer>, public ICodecService, public NoCopyable {
|
||||
public:
|
||||
static std::shared_ptr<ICodecService> Create();
|
||||
CodecServer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user