mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 22:43:34 +08:00
Shorter error strings - saves ~200 bytes
This commit is contained in:
@@ -543,7 +543,7 @@ public:
|
||||
Base::clear();
|
||||
if (ch == NULL)
|
||||
{
|
||||
handleFatalError("Null pointer in Array<>::operator=(const char*)");
|
||||
handleFatalError("Array::operator=(const char*)");
|
||||
}
|
||||
while (*ch)
|
||||
{
|
||||
@@ -558,7 +558,7 @@ public:
|
||||
StaticAssert<IsDynamic>::check();
|
||||
if (ch == NULL)
|
||||
{
|
||||
handleFatalError("Null pointer in Array<>::operator+=(const char*)");
|
||||
handleFatalError("Array::operator+=(const char*)");
|
||||
}
|
||||
while (*ch)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user