Document deleted NMEA copy operations for CI

Name and document the disabled copy parameters so the CI Doxygen check can validate both declarations.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
This commit is contained in:
ladyadaandLimor Fried committed 2026-09-15 16:37:14 -04:00
1 parent 092677dfee
commit 776f44942e
1 file changed
+6 -2
+6 -2
View File
@@ -70,8 +70,12 @@ typedef struct {
class Adafruit_NMEA {
public:
Adafruit_NMEA(char *firstBuffer, char *secondBuffer, size_t capacity);
Adafruit_NMEA(const Adafruit_NMEA &) = delete;
Adafruit_NMEA &operator=(const Adafruit_NMEA &) = delete;
/// @brief Copying is disabled to prevent sharing writable receive buffers.
/// @param other Receiver that cannot be copied.
Adafruit_NMEA(const Adafruit_NMEA &other) = delete;
/// @brief Assignment is disabled to prevent sharing writable receive buffers.
/// @param other Receiver that cannot be assigned.
Adafruit_NMEA &operator=(const Adafruit_NMEA &other) = delete;
void reset();
nmea_frame_status_t feed(uint8_t byte, uint32_t receivedAtMs);
nmea_sentence_t lastSentence() const;