mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix: function returns by const value
This commit is contained in:
parent
d292ef130c
commit
a5dc187481
14 changed files with 41 additions and 28 deletions
|
|
@ -68,7 +68,7 @@ LuaState::LuaState() {
|
|||
setglobal(LAMBDAS_TABLE);
|
||||
}
|
||||
|
||||
const std::string LuaState::envName(int env) {
|
||||
std::string LuaState::envName(int env) {
|
||||
return "_ENV"+util::mangleid(env);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue