openscenegraph / OpenSceneGraph

OpenSceneGraph git repository
http://www.openscenegraph.org
Other
3.25k stars 1.42k forks source link

Remove deprecated `register` keyword to enable C++17 compatibility with Apple Clang #1296

Open czoido opened 9 months ago

czoido commented 9 months ago

Hi!

This change is motivated by the fact that the register keyword is deprecated as of C++17. I've removed it from ConfigLexer.cpp, which now allows us to build with Apple Clang using the C++17 standard.

Thanks for taking a look at this!