fix:修正一个返回错误。
This commit is contained in:
parent
af77092ab4
commit
eea5eee933
@ -824,7 +824,7 @@ std::string CClient::read_uuid()
|
|||||||
std::ifstream in_file(uuid_path.string(), std::ios::in);
|
std::ifstream in_file(uuid_path.string(), std::ios::in);
|
||||||
if (!in_file.is_open()) {
|
if (!in_file.is_open()) {
|
||||||
TLOGE("Open File Failed {}", uuid_path.string());
|
TLOGE("Open File Failed {}", uuid_path.string());
|
||||||
return false;
|
return "";
|
||||||
}
|
}
|
||||||
std::string uuid;
|
std::string uuid;
|
||||||
in_file >> uuid;
|
in_file >> uuid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user