mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:13:34 +08:00
Shorter error strings - saves ~200 bytes
This commit is contained in:
@@ -31,7 +31,7 @@ class UAVCAN_EXPORT LazyConstructor
|
||||
{
|
||||
if (!ptr_)
|
||||
{
|
||||
handleFatalError("LazyConstructor<T> is not constructed");
|
||||
handleFatalError("LazyConstructor<T>");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class UAVCAN_EXPORT LazyConstructor
|
||||
{
|
||||
if (ptr_)
|
||||
{
|
||||
handleFatalError("LazyConstructor<T> is already constructed");
|
||||
handleFatalError("LazyConstructor<T>");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user