From c774ff282680022fffa383f7f9eac6673ad927f8 Mon Sep 17 00:00:00 2001 From: Kirk Rodrigues <2454684+kirkrodrigues@users.noreply.github.com> Date: Thu, 25 Aug 2022 15:05:34 -0400 Subject: [PATCH] Allow an empty log type. --- components/core/src/LogTypeDictionaryWriter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/core/src/LogTypeDictionaryWriter.cpp b/components/core/src/LogTypeDictionaryWriter.cpp index 1960a1e46..9c9c779ae 100644 --- a/components/core/src/LogTypeDictionaryWriter.cpp +++ b/components/core/src/LogTypeDictionaryWriter.cpp @@ -9,9 +9,6 @@ bool LogTypeDictionaryWriter::add_entry (LogTypeDictionaryEntry& logtype_entry, bool is_new_entry = false; const string& value = logtype_entry.get_value(); - if (value.empty()) { - throw OperationFailed(ErrorCode_Corrupt, __FILENAME__, __LINE__); - } const auto ix = m_value_to_id.find(value); if (m_value_to_id.end() != ix) { // Entry exists so get its ID