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

Method sync

tests/catch.hpp:10967–10973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10965 }
10966
10967 int sync() override {
10968 if( pbase() != pptr() ) {
10969 m_writer( std::string( pbase(), static_cast<std::string::size_type>( pptr() - pbase() ) ) );
10970 setp( pbase(), epptr() );
10971 }
10972 return 0;
10973 }
10974 };
10975
10976 ///////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected