Not sure how this was building before on Android, but it didn't build with a newer NDK 16b-based setup (using clang and libc++). Pretty clear duplicated definition, fairly straightforward resolution. File statics are guaranteed to be initialized by the time any code later in the file/TU is run, IIRC, so this should be the safe solution.
Not sure how this was building before on Android, but it didn't build with a newer NDK 16b-based setup (using clang and libc++). Pretty clear duplicated definition, fairly straightforward resolution. File statics are guaranteed to be initialized by the time any code later in the file/TU is run, IIRC, so this should be the safe solution.