From: Georg Baum Date: Mon, 16 Nov 2015 20:51:30 +0000 (+0100) Subject: Fix wrong forward declaration X-Git-Tag: 2.2.0alpha2~89 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0c97d6edc009a968277bda26d2352e7a0868ae33;p=features.git Fix wrong forward declaration This popped up in cmake monolithic build once. It looks like BufferView is included indirectly by some of the other headers (otherwise we would have seen compile errors for other build configurations as well), bu I'll keep the forward declaration since we don't want to depend on this indirect header inclusion. --- diff --git a/src/MetricsInfo.h b/src/MetricsInfo.h index 7ad62426e7..195d705459 100644 --- a/src/MetricsInfo.h +++ b/src/MetricsInfo.h @@ -21,11 +21,11 @@ #include -class BufferView; namespace lyx { namespace frontend { class Painter; } +class BufferView; class Inset; class MacroContext;