mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
Clip this comment.
This commit is contained in:
parent
1f05cf27c3
commit
0d882367f7
1 changed files with 0 additions and 1 deletions
|
@ -75,7 +75,6 @@ private:
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static void fnMove(void* dst, void* src)
|
static void fnMove(void* dst, void* src)
|
||||||
{
|
{
|
||||||
// static_cast<T&&> is equivalent to std::move() but faster in Debug
|
|
||||||
new (dst) T(static_cast<T&&>(*static_cast<T*>(src)));
|
new (dst) T(static_cast<T&&>(*static_cast<T*>(src)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue