mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Compilation fix for windows
Since commit 7ac70092
, lyx::dispatch returns a DispatchResult const &,
which is ignored in the cases below. Nevertheless, the windows
compiler complains that it does not know this type. Gcc and clang can
deal with it without problem.
This commit is contained in:
parent
0f1fdaaa97
commit
f51d7fdd2a
@ -12,9 +12,13 @@
|
||||
|
||||
#include "Action.h"
|
||||
|
||||
// DispatchResult.h is needed by the windows compiler because lyx::dispatch
|
||||
// returns a DispatchResult const reference. Gcc does not complain. Weird...
|
||||
#include "DispatchResult.h"
|
||||
#include "FuncRequest.h"
|
||||
#include "FuncStatus.h"
|
||||
#include "LyX.h"
|
||||
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include "support/debug.h"
|
||||
|
@ -16,6 +16,9 @@
|
||||
#include "GuiView.h"
|
||||
#include "qt_helpers.h"
|
||||
|
||||
// DispatchResult.h is needed by the windows compiler because lyx::dispatch
|
||||
// returns a DispatchResult const reference. Gcc does not complain. Weird...
|
||||
#include "DispatchResult.h"
|
||||
#include "FuncStatus.h"
|
||||
#include "FuncRequest.h"
|
||||
#include "LyX.h"
|
||||
|
Loading…
Reference in New Issue
Block a user