8000 CMsg.cpp added missing return value to op = · Networking-for-Arduino/ESPHost@fa4f953 · GitHub
[go: up one dir, main page]

Skip to content

Commit fa4f953

Browse files
committed
CMsg.cpp added missing return value to op =
1 parent fccb2a7 commit fa4f953

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CMsg.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ CMsg& CMsg::operator=(CMsg&& m) {
204204
Serial.println(" bad!");
205205
#endif
206206
}
207+
return *this;
207208
}
208209

209210

@@ -498,6 +499,7 @@ bool CMsg::add_msg(CMsg &msg) {
498499
return false;
499500
}
500501
}
502+
return true;
501503
}
502504

503505
/* -------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)
0