提交 706af0a4 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

C++: Use explicit for single argument constructors

上级 1c4f5aa7
...@@ -25,7 +25,7 @@ namespace RTC ...@@ -25,7 +25,7 @@ namespace RTC
}; };
public: public:
RtpStream(RTC::RtpStream::Params& params); explicit RtpStream(RTC::RtpStream::Params& params);
virtual ~RtpStream(); virtual ~RtpStream();
virtual Json::Value toJson() const = 0; virtual Json::Value toJson() const = 0;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论