mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 20:03:34 +08:00
C++ library usage fix: snprintf() may or may not be in std::
This commit is contained in:
@@ -59,7 +59,7 @@ bool CanFrame::priorityHigherThan(const CanFrame& rhs) const
|
||||
|
||||
std::string CanFrame::toString(StringRepresentation mode) const
|
||||
{
|
||||
using std::snprintf;
|
||||
using namespace std; // For snprintf()
|
||||
|
||||
assert(mode == StrTight || mode == StrAligned);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user