Skip to content
  • Conrad Poelman's avatar
    Name unnamed typedef struct {...} to fix MSVC error · 3e7bdc07
    Conrad Poelman authored
    Compile with latest MSVC 16.6.0 Preview Release, got error message:
    > osgPlugins\x\types.h(41,20): error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes (compiling source file ...3rdparty\OpenSceneGraph\src\osgPlugins\x\mesh.cpp)
    
    The fix was just to give it a name, which will never be used. I picked Vector_struct, feel free to improve.
    3e7bdc07