commit | ef52f03556e443672ad1bbecad07fb1549d01e30 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 09 21:44:43 2016 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 09 21:44:45 2016 -0600 |
tree | 69aabad8d9ca90483614774d061b9b143bfd5b7c | |
parent | 6a07ddb302fb3e1677aede8ca24cfe0b09c2eeb4 [diff] |
time-config: fix warning on no-effect conditional operator<< (for iostream) has higher precidence than terinary operator. Therefore, 'cout << foo ? 1 : 2' would be evaluated as '(cout << foo) ? 1 : 2' which is always true. Add parens to ensure the correct evaluation order. Change-Id: I24ce991ec934c35ca2b244677cacb1a5a738ad76 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>