sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

Adjust mesh parsing to avoid strange linker error with Json assignment operator. #315

Closed rpavlik closed 7 years ago

rpavlik commented 7 years ago

For some unknown reason I needed to remove operator= calls in this function or it wouldn't link, when using JsonCpp-0yz and VS2015 64 bit. It's effectively equivalent (pass an arg by value instead of passing by const ref then assigning to a new object, and a swap instead of an assign), and importantly, it builds.