mirror of
https://gitee.com/openharmony/multimedia_av_codec
synced 2025-01-19 05:43:14 +00:00
!42 shared指针编译错误纠正
Merge pull request !42 from hongran1206/develop_test_zhr
This commit is contained in:
commit
d47f1dfd86
@ -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