On Fri, 09 May 2014 09:24:41 +0200, Lance Corrimal wrote: > Hi, > > And what did they terll you there? Please share, I'm banging my head against > the same thing. > > Cheers, > LC > > Am Donnerstag, 8. Mai 2014, 15:34:39 schrieb Nicky Perian: > > Never mind, got guidance from the #opensl > > > > > > On Thursday, May 8, 2014 4:48 PM, Nicky Perian <[email protected]> > > wrote: > > > > LLDynamicArray was dropped in viewer-interesting. > > > > >What is the replacement for it? > > > > > > > > >Nicky
LLDynamicArray is nothing else than a wrapper around std::vector (it is probably one of the sequels of a time when the viewer code did not yet use the C++ standard library, i.e. a "prehistoric" and pre-Open-Souce time). Simply replace "LLDynamicArray<Type>" with "std::vector<Type> array" and use "array.push_back(Type)" instead of "array.put(Type)", "array.size()" instead of "array.count()", "array[i]" instead of "array.get(i), etc... Henri. _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
