summaryrefslogtreecommitdiff
path: root/tests/test_memory.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-17 10:24:53 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-17 10:26:57 -0700
commite8e54ea5de080d33780c68847057adf82c12ec16 (patch)
tree6a5a948ec3855987551b2dad961779f5c5c405a9 /tests/test_memory.cpp
parent122157eb0e58977a290f33dcbeff349d6099f925 (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_memory.cpp')
0 files changed, 0 insertions, 0 deletions