Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit 7b56edf

Browse files
authored
Merge pull request #33 from cyanray/dev/cyanray
修复:MSVC编译器警告
2 parents 545d7a7 + b94ffe2 commit 7b56edf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/defs/message_interface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Cyan
99
{
1010
/**
11-
* @brief ÏûÏ¢µÄ³éÏóÀà
11+
* @brief 消息的抽象类
1212
*/
1313
class IMessage : public ISerializable
1414
{

include/defs/messages/FaceMessage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Cyan
3131
{
3232
if (json["type"].is_null() || json["type"].get<string>() != this->GetType())
3333
throw std::runtime_error("给定的json不正确");
34-
faceId_ = json["faceId"].get<int64_t>();
34+
faceId_ = json["faceId"].get<int>();
3535
name_ = json["name"].get<string>();
3636
return true;
3737
}

0 commit comments

Comments
 (0)