change the interface
This commit is contained in:
1 parent
e0ab3ac68e
commit
70a41bfc0e
2 files changed
+2
-2
No files matched your search
@@ -64,7 +64,7 @@ namespace aman {
|
||||
* @param[in] report The new aircraft report
|
||||
* @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
|
||||
* @return The system-wide instance
|
||||
|
||||
@@ -61,7 +61,7 @@ bool AircraftReporter::initialized() const noexcept {
|
||||
return nullptr != this->m_socket;
|
||||
}
|
||||
|
||||
bool AircraftReporter::send(const aman::AircraftReport& report) {
|
||||
bool AircraftReporter::send(aman::AircraftReport& report) {
|
||||
bool retval = false;
|
||||
|
||||
if (nullptr != this->m_socket) {
|
||||
|
||||
Reference in new issue
Block a user