Skip to content

Commit 44a65ff

Browse files
committed
code optimization
1 parent 795331f commit 44a65ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/VideoCam/video_cam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace infinite_sense {
99
// 继承自 Sensor 类,会自动调用初始化,开始,停止等函数
1010
class VideoCam final : public Sensor {
1111
public:
12-
VideoCam(const std::vector<std::pair<std::string, int>>& cam_list);
12+
explicit VideoCam(const std::vector<std::pair<std::string, int>>& cam_list);
1313
~VideoCam() override;
1414

1515
bool Initialization() override; // 相机初始化函数

0 commit comments

Comments
 (0)