summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@newayselectronics.com>2018-01-08 13:24:42 (GMT)
committerAndreas Regel <andreas.regel@newayselectronics.com>2018-01-08 13:24:42 (GMT)
commitdcd7390a61abc1da656c10dde282191e651a36fb (patch)
tree79d80549df7c0c680205605b696027c4f1453d02 /qtools
parentf2c332b81338c7baff12c771c8799c741a43144b (diff)
downloadDoxygen-dcd7390a61abc1da656c10dde282191e651a36fb.zip
Doxygen-dcd7390a61abc1da656c10dde282191e651a36fb.tar.gz
Doxygen-dcd7390a61abc1da656c10dde282191e651a36fb.tar.bz2
Fix building with Visual Studio 2013
Visual Studio 2013 and older (probably also newer) do not understand binary constants. So change them to hexadecimal.
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qstring.h6
1 files 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;