Sven Czarnian 3 роки тому
батько
коміт
70a41bfc0e
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      include/aman/com/AircraftReporter.h
  2. 1 1
      src/com/AircraftReporter.cpp

+ 1 - 1
include/aman/com/AircraftReporter.h

@@ -64,7 +64,7 @@ namespace aman {
          * @param[in] report The new aircraft report
          * @param[in] report The new aircraft report
          * @return True if the report is sent, else false
          * @return True if the report is sent, else false
          */
          */
-        bool send(const aman::AircraftReport& report);
+        bool send(aman::AircraftReport& report);
         /**
         /**
          * @brief Returns the reporter instance
          * @brief Returns the reporter instance
          * @return The system-wide instance
          * @return The system-wide instance

+ 1 - 1
src/com/AircraftReporter.cpp

@@ -61,7 +61,7 @@ bool AircraftReporter::initialized() const noexcept {
     return nullptr != this->m_socket;
     return nullptr != this->m_socket;
 }
 }
 
 
-bool AircraftReporter::send(const aman::AircraftReport& report) {
+bool AircraftReporter::send(aman::AircraftReport& report) {
     bool retval = false;
     bool retval = false;
 
 
     if (nullptr != this->m_socket) {
     if (nullptr != this->m_socket) {