OpenCOLLADA icon indicating copy to clipboard operation
OpenCOLLADA copied to clipboard

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

Open theHamsta opened this issue 5 years ago • 1 comments

…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

theHamsta avatar Mar 16 '20 21:03 theHamsta

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 16 '20 21:03 CLAassistant