diff options
| author | Tilka <tilkax@gmail.com> | 2024-10-11 20:28:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-11 20:28:06 +0100 |
| commit | d2a56b321fb8957c8bb13911ef2b60a89c244de4 (patch) | |
| tree | d140ff1fa93560952e0f2fc62c3c0e6ffc24896b /Source/DSPSpy | |
| parent | c1832d17f657ba885815f53881784ea12a87c532 (diff) | |
| parent | b6ec8ddc206ea8da474348e801758051d6470b79 (diff) | |
Merge pull request #13095 from mitaclaw/ranges-modernization-6-n
Ranges Algorithms Modernization - N
Diffstat (limited to 'Source/DSPSpy')
| -rw-r--r-- | Source/DSPSpy/ConsoleHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/DSPSpy/ConsoleHelper.h b/Source/DSPSpy/ConsoleHelper.h index 791b94c636..90aea55f9f 100644 --- a/Source/DSPSpy/ConsoleHelper.h +++ b/Source/DSPSpy/ConsoleHelper.h @@ -60,7 +60,7 @@ inline void CON_BlankRow(const int y) int columns = 0, rows = 0; CON_GetMetrics(&columns, &rows); char blank[columns]; - std::fill(blank, blank + columns, ' '); + std::fill_n(blank, columns, ' '); blank[columns - 1] = '\0'; CON_Printf(0, y, "%s", blank); } |
