/[usata]/usata2/src/scene-manager.cpp
ViewVC logotype

Diff of /usata2/src/scene-manager.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by skunix, Fri Jan 7 06:13:11 2005 UTC revision 1.8 by skunix, Fri Jan 7 06:27:39 2005 UTC
# Line 117  struct Impl Line 117  struct Impl
117          {          {
118                  using boost::bind;                        using boost::bind;      
119                  Object* retval=0;                  Object* retval=0;
120                  DrawList::iterator it =                  DrawList::iterator it = find(name);
                 std::find_if(drawlist.begin(),  
                                          drawlist.end(),  
                                          bind(std::equal_to<std::string>(), name,  
                                                         bind(&Object::name, bind( &Object_sp::get, _1))));  
121                  if (it != drawlist.end())                  if (it != drawlist.end())
122                          retval = it->get();                          retval = it->get();
123                  return retval;                  return retval;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26