We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a23ac0 commit fd36876Copy full SHA for fd36876
src/utils/logger.cpp
@@ -49,7 +49,8 @@ void Logger::finish(bool conv) {
49
50
void Logger::addColumn(std::string_view name, uint width,
51
std::string_view format) {
52
- m_colNames.push_back(name);
+ if (std::find(m_colNames.begin(), m_colNames.end(), name) == m_colNames.end())
53
+ m_colNames.push_back(name);
54
m_colSpecs[name] = {width, std::string(format)};
55
}
56
0 commit comments