aboutsummaryrefslogtreecommitdiff
path: root/call/call_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'call/call_factory.h')
-rw-r--r--call/call_factory.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/call/call_factory.h b/call/call_factory.h
index 9feed7bbb6..f75b1bd71b 100644
--- a/call/call_factory.h
+++ b/call/call_factory.h
@@ -11,6 +11,8 @@
#ifndef CALL_CALL_FACTORY_H_
#define CALL_CALL_FACTORY_H_
+#include <memory>
+
#include "api/call/call_factory_interface.h"
#include "api/sequence_checker.h"
#include "call/call.h"
@@ -22,11 +24,10 @@ namespace webrtc {
class CallFactory : public CallFactoryInterface {
public:
CallFactory();
+ ~CallFactory() override = default;
private:
- ~CallFactory() override {}
-
- Call* CreateCall(const CallConfig& config) override;
+ std::unique_ptr<Call> CreateCall(const CallConfig& config) override;
RTC_NO_UNIQUE_ADDRESS SequenceChecker call_thread_;
};