Kaydet (Commit) 46305229 authored tarafından David Tardon's avatar David Tardon

WaE: enumeral and non-enumeral type in conditional expression

Change-Id: I6352836e28c8cb04ba3de40bfcb0095096ee1dd5
üst 393e7add
......@@ -32,11 +32,8 @@ struct str
typedef ::size_t position;
typedef ::size_t size;
enum constants
{
npos = position(-1),
maxsize = size(-1)
};
static const position npos = -1;
static const size maxsize = -1;
enum insert_mode
{
......
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