KhronosGroup / OpenCOLLADA

652 stars 251 forks source link

Rather use default constructor of std::vector in LibraryAnimations::L… #633

Open theHamsta opened 4 years ago

theHamsta commented 4 years ago

…ibraryAnimations than mOpenAnimation(NULL)

This avoid the following warning:

../COLLADAStreamWriter/src/COLLADASWLibraryAnimations.cpp:65:97: warning: implicit conversion of NULL constant to 'std::vector::size_type' (aka 'unsigned long') [-Wnull-conversion]
            : Library ( streamWriter, CSWC::CSW_ELEMENT_LIBRARY_ANIMATIONS ), mOpenAnimations ( NULL )
                                                                              ~~~~~~~~~~~~~~~   ^~~~
                                                                                                0
CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.