diff options
author | aligus <aligus@yandex-team.ru> | 2022-02-10 16:49:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:23 +0300 |
commit | 3f79772915172a9f5407c1a815806a8c8ba67c60 (patch) | |
tree | 79161f79bbef65a0b0573ccc11357304e5f93940 /library/cpp/binsaver | |
parent | d8471797044beeb73c43091394121ac38ffe75ed (diff) | |
download | ydb-3f79772915172a9f5407c1a815806a8c8ba67c60.tar.gz |
Restoring authorship annotation for <aligus@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/binsaver')
-rw-r--r-- | library/cpp/binsaver/class_factory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/binsaver/class_factory.h b/library/cpp/binsaver/class_factory.h index e83512331b..657df90429 100644 --- a/library/cpp/binsaver/class_factory.h +++ b/library/cpp/binsaver/class_factory.h @@ -88,13 +88,13 @@ void TClassFactory<T>::RegisterTypeBase(int nTypeID, newFunc func, VFT vft) { fprintf(stderr, "IBinSaver: Type ID 0x%08X has been already used\n", nTypeID); abort(); } - } + } CTypeIndexHash::iterator typeIndexIt = typeIndex.find(vft); if (typeIndexIt != typeIndex.end() && nTypeID != typeIndexIt->second) { fprintf(stderr, "IBinSaver: class (Type ID 0x%08X) has been already registered (Type ID 0x%08X)\n", nTypeID, typeIndexIt->second); abort(); - } + } typeIndex[vft] = nTypeID; typeInfo[nTypeID] = func; } |