LCOV - code coverage report
Current view: top level - src/util - stream.hpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 2 0.0 %
Date: 2025-03-25 01:19:55 Functions: 0 8 0.0 %
Branches: 0 4 0.0 %

           Branch data     Line data    Source code
       1                 :            : #pragma once
       2                 :            : 
       3                 :            : #include <streambuf>
       4                 :            : 
       5                 :            : 
       6                 :            : class NullBuffer : public std::streambuf
       7                 :            : {
       8                 :            :     public:
       9                 :          0 :     int overflow(int c) { return c; }
      10                 :            : };
      11                 :            : 
      12                 :            : class NullStream : public std::ostream
      13                 :            : {
      14                 :            :     public:
      15   [ #  #  #  # ]:          0 :     NullStream() : std::ostream(&m_sb) {}
      16                 :            :     private:
      17                 :            :     NullBuffer m_sb;
      18                 :            : };

Generated by: LCOV version 1.16