From: Vincent van Ravesteijn Date: Sun, 8 Feb 2009 01:21:54 +0000 (+0000) Subject: * MathAutoCorrect: kill compiler warning. X-Git-Tag: 2.0.0~7283 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=78bc661ff8a1811051b8f58388f08f6abcc50dc2;p=features.git * MathAutoCorrect: kill compiler warning. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28390 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/MathAutoCorrect.cpp b/src/mathed/MathAutoCorrect.cpp index 85f699c404..fcc9f7705a 100644 --- a/src/mathed/MathAutoCorrect.cpp +++ b/src/mathed/MathAutoCorrect.cpp @@ -170,7 +170,7 @@ void initAutoCorrect() } // namespace anon -bool math_autocorrect(MathAtom & at, char c) +bool math_autocorrect(MathAtom & at, char_type c) { static bool initialized = false; diff --git a/src/mathed/MathAutoCorrect.h b/src/mathed/MathAutoCorrect.h index 8b77f363f1..679e83738e 100644 --- a/src/mathed/MathAutoCorrect.h +++ b/src/mathed/MathAutoCorrect.h @@ -12,12 +12,14 @@ #ifndef MATHAUTOCORRECT_H #define MATHAUTOCORRECT_H +#include "support/strfwd.h" + namespace lyx { class MathAtom; // make "corrections" according to file lib/autocorrect -bool math_autocorrect(MathAtom & at, char c); +bool math_autocorrect(MathAtom & at, char_type c); } // namespace lyx