]> git.lyx.org Git - features.git/commitdiff
Fix wrong forward declaration
authorGeorg Baum <baum@lyx.org>
Mon, 16 Nov 2015 20:51:30 +0000 (21:51 +0100)
committerGeorg Baum <baum@lyx.org>
Mon, 16 Nov 2015 20:51:30 +0000 (21:51 +0100)
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.

src/MetricsInfo.h

index 7ad62426e7c9a887f231a635dfa28afe6a3136eb..195d705459c6860a338fc41d553d1b1e96f935d0 100644 (file)
 
 #include <string>
 
-class BufferView;
 
 namespace lyx {
 
 namespace frontend { class Painter; }
+class BufferView;
 class Inset;
 class MacroContext;