Commit 4dcb7e1c authored by VanillaSalt's avatar VanillaSalt

edit

parent 9e7c8ca8
...@@ -75,8 +75,8 @@ public: ...@@ -75,8 +75,8 @@ public:
static duel* get_duel_info(lua_State* L); static duel* get_duel_info(lua_State* L);
template <size_t N> template <size_t N>
static char* strcpy(char (&src)[N], const char *dst) { static char* strcpy(char (&dst)[N], const char* src) {
return strncpy(reinterpret_cast<char*>(&src), dst, N); 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