diff options
| author | Julius Ikkala <julius.ikkala@gmail.com> | 2025-05-03 02:00:42 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-02 23:00:42 +0000 |
| commit | 6104a55548133f936b189fad011f90f067fe725b (patch) | |
| tree | 30385fbc5fdb5074212226f09daf6549bef66396 /source/core/slang-writer.cpp | |
| parent | 1b539d8907af3cc77e52e8cf4edf029964e0423a (diff) | |
Fix build on GCC 15 (#6971)
* Fix build on GCC 15
* format code
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/core/slang-writer.cpp')
| -rw-r--r-- | source/core/slang-writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-writer.cpp b/source/core/slang-writer.cpp index b3a48d9c7..7fde8cd31 100644 --- a/source/core/slang-writer.cpp +++ b/source/core/slang-writer.cpp @@ -157,7 +157,7 @@ void FileWriter::flush() ::fflush(m_file); } -/* static */ bool FileWriter::isConsole(FILE* file) +/* static */ bool FileWriter::isFileConsole(FILE* file) { const int stdoutFileDesc = _fileno(file); return _isatty(stdoutFileDesc) != 0; |
