In core/smartbody/sbm/src/panimationviewer/ParamAnimStateEditor.cpp, 
lines 825, 838, 851, and in 
core/smartbody/sbm/src/panimationviewer/ParamAnimAutoMarkingEditor.cpp, 
lines 124 and 283, there is code that looks like this:

   std::vector<std::string>& selectedMotions = 
stateEditor->getSelectedMotions();

This is not legal C++, because getSelectedMotions() returns a vector, 
resulting in a temporary value, and you can't take a non-const reference 
to a temporary.  (I have a vague recollection that maybe Visual Studio 
allows it, but standard C++ does not allow it.)

I changed this code to:

   std::vector<std::string> selectedMotions( 
stateEditor->getSelectedMotions() );
-- 
   James W. Walker, Innoventive Software LLC
   <http://www.frameforge3d.com/>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Smartbody-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-developer

Reply via email to