From 3018614da1d17cdab52a2b260d747e5c61f93eae Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 19 Feb 2012 21:44:47 +0000 Subject: [PATCH] On *nix, a proper forward definition of docstring is necessary for overriding a pure virtual method (part of bug #8032). I wonder why it was working on Windows and why it works for QString. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40783 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/ProgressInterface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/support/ProgressInterface.h b/src/support/ProgressInterface.h index 79e2e8b054..1efb79a7e3 100644 --- a/src/support/ProgressInterface.h +++ b/src/support/ProgressInterface.h @@ -12,7 +12,8 @@ #ifndef LYX_SUPPORT_PROGRESSINTERFACE_H #define LYX_SUPPORT_PROGRESSINTERFACE_H -class docstring; +#include "support/strfwd.h" + class QString; namespace lyx {