From 0aab06c4680c0cb800f0c5d4479f790e760d6433 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Tue, 18 Oct 2016 00:54:37 +0200 Subject: [PATCH] Some compilers are worried that a struct is not the same as a class --- src/BufferView.h | 2 +- src/LaTeXFeatures.h | 2 +- src/insets/InsetFloat.h | 2 +- src/insets/InsetListings.h | 2 +- src/texstream.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/BufferView.h b/src/BufferView.h index aca6f852b2..fc40379d66 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -46,7 +46,7 @@ class ParagraphMetrics; class Point; class TexRow; class Text; -class TextEntry; +struct TextEntry; class TextMetrics; enum CursorStatus { diff --git a/src/LaTeXFeatures.h b/src/LaTeXFeatures.h index ec807c3b1f..b136f86020 100644 --- a/src/LaTeXFeatures.h +++ b/src/LaTeXFeatures.h @@ -27,7 +27,7 @@ class Buffer; class BufferParams; class InsetLayout; class Language; -class TexString; +struct TexString; /** The packages and commands that a buffer needs. This class * contains a list. Each of the LaTeX packages that a buffer needs diff --git a/src/insets/InsetFloat.h b/src/insets/InsetFloat.h index 7317ab8a3f..f146e11fac 100644 --- a/src/insets/InsetFloat.h +++ b/src/insets/InsetFloat.h @@ -18,7 +18,7 @@ namespace lyx { -class TexString; +struct TexString; class InsetFloatParams diff --git a/src/insets/InsetListings.h b/src/insets/InsetListings.h index 83debfff83..14dbda94d0 100644 --- a/src/insets/InsetListings.h +++ b/src/insets/InsetListings.h @@ -18,7 +18,7 @@ namespace lyx { class LaTeXFeatures; -class TexString; +struct TexString; ///////////////////////////////////////////////////////////////////////// // diff --git a/src/texstream.h b/src/texstream.h index 9c882b9d89..e5450ce741 100644 --- a/src/texstream.h +++ b/src/texstream.h @@ -18,7 +18,7 @@ namespace lyx { class TexRow; -class TexString; +struct TexString; /** Wrapper class for odocstream. -- 2.39.5