small cleanup

This commit is contained in:
Akash Mozumdar 2018-12-30 22:11:23 -05:00
parent b87b4c0b41
commit 9216548848
2 changed files with 6 additions and 6 deletions

View File

@ -92,14 +92,14 @@ private:
struct InsertHookCmd // From host
{
InsertHookCmd(HookParam hp) : hp(hp) {};
InsertHookCmd(HookParam hp) : hp(hp) {}
int command = HOST_COMMAND_NEW_HOOK;
HookParam hp;
};
struct ConsoleOutputNotif // From hook
{
ConsoleOutputNotif(std::string message = "") { strcpy_s<MESSAGE_SIZE>(this->message, message.c_str()); };
ConsoleOutputNotif(std::string message = "") { strcpy_s<MESSAGE_SIZE>(this->message, message.c_str()); }
int command = HOST_NOTIFICATION_TEXT;
char message[MESSAGE_SIZE] = {};
};