aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/segpool_alloc.h
diff options
context:
space:
mode:
authorakhropov <akhropov@yandex-team.ru>2022-02-10 16:46:32 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:32 +0300
commit00afc96e9c0298054b7386fa7fb9e3cc3d67b974 (patch)
treecb7a9f4a92c0d4cc5a86eeed49ad71e810953c1f /util/memory/segpool_alloc.h
parent83a8efcf3af051e3dd59c00d1d5dafc96412ec1e (diff)
downloadydb-00afc96e9c0298054b7386fa7fb9e3cc3d67b974.tar.gz
Restoring authorship annotation for <akhropov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory/segpool_alloc.h')
-rw-r--r--util/memory/segpool_alloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/memory/segpool_alloc.h b/util/memory/segpool_alloc.h
index 1a83b7a543..d38c000774 100644
--- a/util/memory/segpool_alloc.h
+++ b/util/memory/segpool_alloc.h
@@ -77,10 +77,10 @@ struct segpool_alloc {
if (!pool) {
Y_IF_DEBUG(malloc_free_count++);
free(__p);
- } else {
+ } else {
Y_IF_DEBUG(pool_free_count++);
- ;
- }
+ ;
+ }
}
~segpool_alloc() {
//assert(pool_count == pool_free_count && malloc_count == malloc_free_count); <- uncomment when swap() problem is solved