From dcd7390a61abc1da656c10dde282191e651a36fb Mon Sep 17 00:00:00 2001 From: Andreas Regel Date: Mon, 8 Jan 2018 14:24:42 +0100 Subject: Fix building with Visual Studio 2013 Visual Studio 2013 and older (probably also newer) do not understand binary constants. So change them to hexadecimal. --- qtools/qstring.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qtools/qstring.h b/qtools/qstring.h index 5fcff29..d459132 100644 --- a/qtools/qstring.h +++ b/qtools/qstring.h @@ -384,7 +384,7 @@ public: * - As return value for basicDirection(), it means that the first strong character * of the source string has a left-to-right direction. */ - DirLTR = 0b01, + DirLTR = 0x1, /// Right-to-left text. /*! * - As return value for direction(), it means that the source string @@ -392,13 +392,13 @@ public: * - As return value for basicDirection(), it means that the first strong character * of the source string has a right-to-left direction. */ - DirRTL = 0b10, + DirRTL = 0x2, /// Mixed-directional text /*! * As return value for direction(), it means that the source string * contains both left-to-right and right-to-left characters. */ - DirMixed = 0b11 + DirMixed = 0x3 }; //QT_STATIC_CONST QString null; -- cgit v0.12