]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ErasureCodeExample.h: prefer prefix ++operator for non-primitive types
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 5 Nov 2013 18:51:14 +0000 (19:51 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 7 Nov 2013 22:31:14 +0000 (23:31 +0100)
commitd0cf2bfb3206d90123b448732bd243ce73631d0c
treef2ef63d79fa7da785bac42cb4cdc410d58462bea
parent36ae9eb3214acee1c43e8a560ab20647197b5a47
ErasureCodeExample.h: prefer prefix ++operator for non-primitive types

Prefer prefix ++operator for non-primitive types like iterators for
performance reasons. Prefix ++/-- operators avoid creating a temporary
copy.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/osd/ErasureCodeExample.h