Commit c5dfa657 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac550] make sure the user defined flag bit is the MSB.

the actual bit position isn't a big deal right now, but the intent would be
a bit clearer than an odd intermediate position (and, in fact, using the
MSB was the original intent; the previous value was a typo)
parent 1d018cd8
......@@ -121,7 +121,7 @@ public:
/// set to on by the \c setFlag() method.
enum Flags {
FLAG_CALLBACK = 1, ///< Callback enabled. See \ref callback
FLAG_USER1 = 0x8000000U ///< Application specific flag
FLAG_USER1 = 0x80000000U ///< Application specific flag
// Some flag values are expected to be used for internal purposes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment