Commit 4dcb7e1c authored by VanillaSalt's avatar VanillaSalt

edit

parent 9e7c8ca8
......@@ -75,8 +75,8 @@ public:
static duel* get_duel_info(lua_State* L);
template <size_t N>
static char* strcpy(char (&src)[N], const char *dst) {
return strncpy(reinterpret_cast<char*>(&src), dst, N);
static char* strcpy(char (&dst)[N], const char* src) {
return strncpy(reinterpret_cast<char*>(&dst), src, N);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment