From: Enrico Forestieri Date: Sun, 19 Feb 2012 21:44:47 +0000 (+0000) Subject: On *nix, a proper forward definition of docstring is necessary for X-Git-Tag: 2.1.0beta1~2035 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3018614da1d17cdab52a2b260d747e5c61f93eae;p=lyx.git 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 --- 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 {