diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-10-17 10:24:53 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-10-17 10:26:57 -0700 |
commit | e8e54ea5de080d33780c68847057adf82c12ec16 (patch) | |
tree | 6a5a948ec3855987551b2dad961779f5c5c405a9 /tests/test_header_iosfwd_2.cpp | |
parent | 122157eb0e58977a290f33dcbeff349d6099f925 (diff) |
Use explicit tests in set_Name/set_value
Node type enum is not used as an array index anywhere else; the code is not
very readable and the value of this "optimization" is questionable.
The conditions are arranged so that in all normal cases the first comparison
returns true anyway.
Diffstat (limited to 'tests/test_header_iosfwd_2.cpp')
0 files changed, 0 insertions, 0 deletions