diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-02 11:21:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-02 11:21:59 -0500 |
| commit | 69dde37f3fcb7be1e522ebf04050bed917fcc091 (patch) | |
| tree | 8e1c199b623f355a9e217c8f5f301cee8b390212 /include/ocl/io | |
| parent | 92d95762c9cf75d9493ec75042c9415b382f10b0 (diff) | |
| parent | c3b474e38d0f974163cb392626e15f909c5a1b73 (diff) | |
Merge pull request #38 from amlel-el-mahrouss/developv1.1
chore: fix enable_stdio_sync's detail::is_stdio_sync.
Diffstat (limited to 'include/ocl/io')
| -rw-r--r-- | include/ocl/io/print.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ocl/io/print.hpp b/include/ocl/io/print.hpp index 5c8a17c..aab6925 100644 --- a/include/ocl/io/print.hpp +++ b/include/ocl/io/print.hpp @@ -48,8 +48,8 @@ namespace ocl::io inline void enable_stdio_sync(const bool& enable) noexcept { - console_io_out.sync_with_stdio(enable); - detail::is_stdio_sync = false; + detail::is_stdio_sync = enable; + console_io_out.sync_with_stdio(detail::is_stdio_sync); } inline const bool& is_stdio_sync() |
