Closed mmdriley closed 4 years ago
Here's the warning at master
:
https://travis-ci.org/google/safeside/jobs/654555961#L69
and here are the logs from this PR: https://travis-ci.org/google/safeside/jobs/654561622
I cribbed this approach from https://github.com/google/benchmark/pull/469
MSVC thinks
__forceinline inline
is redundant because__forceinline
impliesinline
. The opposite isn't true, so we avoid the warning by reversing them on any declaration MSVC can see.