mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
Fix for effective cpp.
This commit is contained in:
parent
711b57d2d4
commit
07fba8322a
@ -72,11 +72,12 @@ public:
|
||||
return _data[i][j];
|
||||
}
|
||||
|
||||
void operator=(const Matrix<Type, M, N> &other)
|
||||
Matrix<Type, M, N> & operator=(const Matrix<Type, M, N> &other)
|
||||
{
|
||||
if (this != &other) {
|
||||
memcpy(_data, other._data, sizeof(_data));
|
||||
}
|
||||
return (*this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user