forked from M-Labs/nac3
core/irrt: comment arrays_match()
This commit is contained in:
parent
ab663c3ec8
commit
ae88175c4c
@ -11,6 +11,9 @@ const T& min(const T& a, const T& b) {
|
||||
return a > b ? b : a;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Compare contents of two arrays with the same length.
|
||||
*/
|
||||
template <typename T>
|
||||
bool arrays_match(int len, T* as, T* bs) {
|
||||
for (int i = 0; i < len; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user