[luabind-cvs] luabind/luabind/test test_object.cpp,1.30,1.31
Brought to you by:
arvidn,
daniel_wallin
From: Arvid N. <ar...@us...> - 2006-09-01 13:06:26
|
Update of /cvsroot/luabind/luabind/luabind/test In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26523/test Modified Files: test_object.cpp Log Message: fixed assignment operator on index_proxy to accept an index proxy of the same type. i.e. expressions like table[x] = table[y] did not work previously. Index: test_object.cpp =================================================================== RCS file: /cvsroot/luabind/luabind/luabind/test/test_object.cpp,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- test_object.cpp 13 Jun 2006 23:27:58 -0000 1.30 +++ test_object.cpp 1 Sep 2006 13:06:23 -0000 1.31 @@ -66,6 +66,7 @@ table["sum1"] = sum1; table["sum2"] = sum2; table["blurp"] = 5; + table["sum3"] = table["sum1"]; return 0; } else |