mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-14 23:17:34 +08:00
Provide const dataptr access
This commit is contained in:
committed by
James Goppert
parent
2ad3ec46b9
commit
471e96ff6f
@@ -59,6 +59,11 @@ public:
|
||||
return _data[0];
|
||||
}
|
||||
|
||||
const Type *data() const
|
||||
{
|
||||
return _data[0];
|
||||
}
|
||||
|
||||
inline Type operator()(size_t i, size_t j) const
|
||||
{
|
||||
return _data[i][j];
|
||||
|
||||
Reference in New Issue
Block a user