MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / overflow

Method overflow

tests/catch.hpp:10955–10965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10953
10954 private:
10955 int overflow( int c ) override {
10956 sync();
10957
10958 if( c != EOF ) {
10959 if( pbase() == epptr() )
10960 m_writer( std::string( 1, static_cast<char>( c ) ) );
10961 else
10962 sputc( static_cast<char>( c ) );
10963 }
10964 return 0;
10965 }
10966
10967 int sync() override {
10968 if( pbase() != pptr() ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected