Changeset 433 for trunk/src/lua/lua_map_tile.cc
- Timestamp:
- 07/21/15 19:40:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_map_tile.cc
r406 r433 55 55 nv::map_area* map_area = nv::lua::detail::to_map_area( L, 3 ); 56 56 lua_settop( L, 2 ); 57 std::string code = nv::trimmed( lua_tostring( L, 1 ) ).to_string(); 57 nv::string_view lts = nv::trimmed( lua_tostring( L, 1 ) ); 58 std::string code( lts.data(), lts.size() ); 58 59 std::string chars( " \r\t" ); 59 60 code.erase( nv::remove_if( code.begin(), code.end(),
Note: See TracChangeset
for help on using the changeset viewer.