mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 05:51:35 +08:00
Removing all dirty 'using namespace std' that were used as C++ library compatibility work-around
This commit is contained in:
@@ -12,7 +12,6 @@ namespace uavcan
|
||||
#if UAVCAN_TOSTRING
|
||||
std::string OutgoingTransferRegistryKey::toString() const
|
||||
{
|
||||
using namespace std;
|
||||
char buf[40];
|
||||
(void)snprintf(buf, sizeof(buf), "dtid=%u tt=%u dnid=%u",
|
||||
int(data_type_id_.get()), int(transfer_type_), int(destination_node_id_.get()));
|
||||
|
||||
Reference in New Issue
Block a user