Homec4science

Fix FlatTuple compilation on older msvc.

Authored by Brian Gianforcaro <b.gianfo@gmail.com> on Nov 16 2019, 02:26.

Description

Fix FlatTuple compilation on older msvc.

googletest 1.10.0 fails to compile on msvc version 19.00.23917
with one compilation error:

src\googletest\include\gtest\internal\gtest-internal.h(1188) : error C2039:
'FlatTupleBase<testing::internal::FlatTuple<bool,bool>,testing::internal::IndexSequence<0,1> >':
is not a member of 'testing::internal::FlatTuple<bool,bool>'

This PR fixes the compilation error by explicitly specifying the full type that Indices is
located in the base type.

Details

Committed
Brian Gianforcaro <b.gianfo@gmail.com>Nov 16 2019, 02:41
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:c27acebba3b3: Merge pull request #2521 from Sinclair-John:master
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Gianforcaro <b.gianfo@gmail.com> committed R9484:0c469a5a065e: Fix FlatTuple compilation on older msvc. (authored by Brian Gianforcaro <b.gianfo@gmail.com>).Nov 16 2019, 02:41