!34 typedef defines enum type alias word misspelled

Merge pull request !34 from libaoping28/master
This commit is contained in:
openharmony_ci
2022-02-14 08:40:18 +00:00
committed by Gitee
2 changed files with 4 additions and 4 deletions
@@ -53,7 +53,7 @@ private:
static void OnNodeOfflineAdapter(NodeBasicInfo* info);
static void OnNodeBasicInfoChangedAdapter(NodeBasicInfoType type, NodeBasicInfo* info);
bool GetUuidOrUdidByNetworkId(const std::string& nodeId, NodeDeivceInfoKey keyType,
bool GetUuidOrUdidByNetworkId(const std::string& nodeId, NodeDeviceInfoKey keyType,
std::string& uuidOrUdid);
void OnNodeOnline(const std::shared_ptr<DeviceInfo> deviceInfo);
void OnNodeOffline(const std::string& deviceId);
@@ -255,16 +255,16 @@ std::unique_ptr<NodeBasicInfo> DeviceManager::GetLocalBasicInfo()
bool DeviceManager::GetUdidByNetworkId(const std::string& networkId, std::string& udid)
{
return GetUuidOrUdidByNetworkId(networkId, NodeDeivceInfoKey::NODE_KEY_UDID, udid);
return GetUuidOrUdidByNetworkId(networkId, NodeDeviceInfoKey::NODE_KEY_UDID, udid);
}
bool DeviceManager::GetUuidByNetworkId(const std::string& networkId, std::string& uuid)
{
return GetUuidOrUdidByNetworkId(networkId, NodeDeivceInfoKey::NODE_KEY_UUID, uuid);
return GetUuidOrUdidByNetworkId(networkId, NodeDeviceInfoKey::NODE_KEY_UUID, uuid);
}
bool DeviceManager::GetUuidOrUdidByNetworkId(const std::string& networkId,
NodeDeivceInfoKey keyType, std::string& uuidOrUdid)
NodeDeviceInfoKey keyType, std::string& uuidOrUdid)
{
if (networkId.empty()) {
return false;