mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 05:47:35 +08:00
clang-tidy: partially fix hicpp-explicit-conversions
This commit is contained in:
@@ -101,7 +101,7 @@ public:
|
||||
|
||||
struct Iterator {
|
||||
T node;
|
||||
Iterator(T v) : node(v) {}
|
||||
explicit Iterator(T v) : node(v) {}
|
||||
|
||||
operator T() const { return node; }
|
||||
operator T &() { return node; }
|
||||
|
||||
Reference in New Issue
Block a user