mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-29 20:20:56 +08:00
clang-tidy: partially fix hicpp-explicit-conversions
This commit is contained in:
1 parent
a7f330075a
commit
9f4258f6ff
3 files changed
+3
-3
No files matched your search
@@ -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