Browse Source

cosmetic: fix several typos found by codespell

Change-Id: Id1f6766572fd313463201e6d03964965f227db25
changes/58/17258/1
Pau Espin 2 years ago
parent
commit
93707d0227
  1. 2
      COPYING
  2. 2
      CommonLibs/Vector.h
  3. 4
      Transceiver52M/signalVector.cpp

2
COPYING

@ -666,7 +666,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see
=========================================================================
This marks the end of the AGPLv3 text. The following text is appended to the
same file for convience but constituting a distinct document, not part of the
same file for convenience but constituting a distinct document, not part of the
actual AGPL text and not part of an attempt to create a deriviative work based
on the AGPLv3 text.

2
CommonLibs/Vector.h

@ -232,7 +232,7 @@ template <class T> class Vector {
assert(mStart+span<=mEnd);
for (i = 0; i < span; i++, src++, dst++)
*dst = *src;
/*TODO if not non-trivially copyable type class, optimize:
/*TODO if not non-trivially copiable type class, optimize:
memcpy(dst,mStart,span*sizeof(T)); */
}

4
Transceiver52M/signalVector.cpp

@ -47,7 +47,7 @@ void signalVector::operator=(const signalVector& vector)
complex *src = vector.mData;
for (i = 0; i < size(); i++, src++, dst++)
*dst = *src;
/* TODO: optimize for non non-trivially copyable types: */
/* TODO: optimize for non non-trivially copiable types: */
/*memcpy(mData, vector.mData, bytes()); */
mStart = mData + vector.getStart();
}
@ -70,7 +70,7 @@ size_t signalVector::updateHistory()
complex *src = mStart + this->size() - num;
for (i = 0; i < num; i++, src++, dst++)
*dst = *src;
/* TODO: optimize for non non-trivially copyable types: */
/* TODO: optimize for non non-trivially copiable types: */
/*memmove(mData, mStart + this->size() - num, num * sizeof(complex)); */
return num;

Loading…
Cancel
Save