mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-25 22:17:08 +01:00
Initial preparations for CURL and Discord integration.
This commit is contained in:
1 parent
8257eb61d6
commit
95705e87c8
1751 files changed
+440547
-854
No files matched your search
@@ -76,7 +76,7 @@ Buffer GetRealFilePath(CSStr path)
|
||||
#endif // SQMOD_OS_WINDOWS
|
||||
|
||||
// Return ownership of the buffer
|
||||
return std::move(b);
|
||||
return b;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@@ -1207,7 +1207,7 @@ SysPath SysPath::Parent() const
|
||||
// Force the copy to be parent
|
||||
p.MakeParent();
|
||||
// Return ownership of copy
|
||||
return std::move(p);
|
||||
return p;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@@ -1530,7 +1530,7 @@ Buffer SysPath::BuildUnix() const
|
||||
// Make sure the string is null terminated
|
||||
b.Cursor() = '\0';
|
||||
// Return ownership of buffer
|
||||
return std::move(b);
|
||||
return b;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@@ -1570,7 +1570,7 @@ Buffer SysPath::BuildWindows() const
|
||||
// Make sure the string is null terminated
|
||||
b.Cursor() = '\0';
|
||||
// Return ownership of buffer
|
||||
return std::move(b);
|
||||
return b;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user