]> git.lyx.org Git - features.git/commit
Fix Clang warning about struct/class mismatch
authorScott Kostyshak <skostysh@lyx.org>
Thu, 26 Nov 2020 18:48:42 +0000 (13:48 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 26 Nov 2020 18:51:12 +0000 (13:51 -0500)
commit9649e80c44f501d3ec758343c2eb0fd53a47d10f
tree5c96cfcbb54c647d95a0b399e66b37a663e31853
parent5cf409328df37b8d92aadef4b4df3db542fb549c
Fix Clang warning about struct/class mismatch

CaretGeometry is defined as a struct, but was forward-declared as a
class. Now we forward-declare as a struct. This addresses the
following Clang warning (that does not appear with GCC):

src/frontends/CaretGeometry.h:27:1: warning: 'CaretGeometry' defined
as a struct here but previously declared as a class; this is valid,
but may result in linker errors under the Microsoft C++ ABI
[-Wmismatched-tags]
src/BufferView.h