summaryrefslogtreecommitdiffstats
path: root/src/erasure-code/shec
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2015-09-09 16:48:56 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2015-09-10 19:29:21 +0200
commit534fdd5c8f97e5e6dfcb40d87df51154b849ea68 (patch)
tree6a1e822b75994e4060769fc59f529f50d1f55860 /src/erasure-code/shec
parentrgw_object_expirer_core.cc: remove left over unused variable (diff)
downloadceph-534fdd5c8f97e5e6dfcb40d87df51154b849ea68.tar.xz
ceph-534fdd5c8f97e5e6dfcb40d87df51154b849ea68.zip
ErasureCodeShecTableCache.cc: prefer --operator for non-primitive iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'src/erasure-code/shec')
-rw-r--r--src/erasure-code/shec/ErasureCodeShecTableCache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erasure-code/shec/ErasureCodeShecTableCache.cc b/src/erasure-code/shec/ErasureCodeShecTableCache.cc
index a037892f67c..ebd32db0ae5 100644
--- a/src/erasure-code/shec/ErasureCodeShecTableCache.cc
+++ b/src/erasure-code/shec/ErasureCodeShecTableCache.cc
@@ -289,7 +289,7 @@ ErasureCodeShecTableCache::putDecodingTableToCache(int* decoding_matrix,
// allocate a new buffer
lru_list_t::iterator it_end = decode_tbls_lru->end();
- it_end--;
+ --it_end;
lru_entry_t &map_value =
(*decode_tbls_map)[signature] =