Update flow/FileTraceLogWriter.cpp

Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
This commit is contained in:
Markus Pilman 2019-07-22 14:16:34 -07:00 committed by GitHub
parent c26c68d6d2
commit a48bdc0095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ void FileTraceLogWriter::open() {
// this allows one process to write 10 billion log files
// this should be enough - if not we could make the base larger...
ASSERT(index > 0 && index < 10);
ASSERT(index > 0);
int indexWidth = int(::floor(log10f(float(index)) + 1.0));
char indexWidthC;