From 2b15c1b30f8fb5b1b39705f0c60d489e8b5b4ede Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Mon, 21 May 2012 15:51:37 +0300 Subject: Move ScriptSentinel enum from header to .cpp Change-Id: Ic74e8e2471e92aa2014735f6ab0bb4f3b88de206 Reviewed-by: Lars Knoll --- src/corelib/tools/qunicodetables.cpp | 2 ++ src/corelib/tools/qunicodetables_p.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/corelib/tools/qunicodetables.cpp b/src/corelib/tools/qunicodetables.cpp index 9a2a36cd49..51555680d5 100644 --- a/src/corelib/tools/qunicodetables.cpp +++ b/src/corelib/tools/qunicodetables.cpp @@ -9559,6 +9559,8 @@ static const unsigned char uc_scripts[] = { Common, Common, Common, Common, Common, Common, Common, Common }; +enum { ScriptSentinel = 32 }; + Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4) { if (ucs4 > 0xffff) diff --git a/src/corelib/tools/qunicodetables_p.h b/src/corelib/tools/qunicodetables_p.h index 293f03b94f..37667d9311 100644 --- a/src/corelib/tools/qunicodetables_p.h +++ b/src/corelib/tools/qunicodetables_p.h @@ -157,7 +157,6 @@ namespace QUnicodeTables { Phoenician = Common, PhagsPa = Common }; - enum { ScriptSentinel = 32 }; enum GraphemeBreak { -- cgit v1.2.3