From 89ac0cb4183cd89a2d2083d580bafc531da709eb Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Mon, 9 Jun 2025 16:55:15 -0700 Subject: [PATCH] Fix clang-tidy performance-avoid-endl warnings in headers --- src/Dict.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Dict.h b/src/Dict.h index 3d82b5418f..ce7c179b3a 100644 --- a/src/Dict.h +++ b/src/Dict.h @@ -937,8 +937,9 @@ public: for ( int idx = 0; idx < Capacity(); idx++ ) if ( ! table[idx].Empty() ) { std::string s((char*)table[idx].GetKey(), table[idx].key_size); - f << s << std::endl; + f << s << "\n"; } + f << std::flush; } }