mirror of
https://github.com/taurusxin/ncmdump.git
synced 2025-07-14 05:22:10 +08:00
chore: use cout for printing
This commit is contained in:
parent
ac1028d6a0
commit
0233fd877d
@ -302,7 +302,7 @@ NeteaseCrypt::NeteaseCrypt(std::filesystem::path const& path) {
|
|||||||
read(reinterpret_cast<char *>(&n), sizeof(n));
|
read(reinterpret_cast<char *>(&n), sizeof(n));
|
||||||
|
|
||||||
if (n <= 0) {
|
if (n <= 0) {
|
||||||
printf("[Warn] `%s` missing metadata infomation can't fix some infomation!\n", path.c_str());
|
std::cout << "[Warn] " << path.string() << " missing metadata infomation can't fix some infomation!" << std::endl;
|
||||||
|
|
||||||
mMetaData = NULL;
|
mMetaData = NULL;
|
||||||
} else {
|
} else {
|
||||||
@ -345,6 +345,6 @@ NeteaseCrypt::NeteaseCrypt(std::filesystem::path const& path) {
|
|||||||
|
|
||||||
mImageData = std::string(imageData, n);
|
mImageData = std::string(imageData, n);
|
||||||
} else {
|
} else {
|
||||||
printf("[Warn] `%s` missing album can't fix album image!\n", path.c_str());
|
std::cout << "[Warn] " << path.string() << " missing album can't fix album image!" << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user