diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-22 16:59:02 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-22 16:59:02 +0100 |
commit | 4a180e68ba86ae1b2774879a95e89a236cd87e50 (patch) | |
tree | 2726a2d713ad9f29b5b75c13e48ab4fa2308845e /libs/lua/LuaBridge/detail/LuaHelpers.h | |
parent | 35dcd46d7de2755be15b4fef51044094ba38eee2 (diff) |
Special case const std::string& Lua binding.
since 6dc3bdf, a const string reference would leave scope with Lua code
fn("text")
calling a C++
fn (const std::string&)
before the C++ function is called.
Diffstat (limited to 'libs/lua/LuaBridge/detail/LuaHelpers.h')
0 files changed, 0 insertions, 0 deletions