MCPcopy Create free account
hub / github.com/Profactor/cv-plot / use

Method use

CvPlot/ext/catch2/inc/catch.hpp:10150–10159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10148 Colour::~Colour(){ if( !m_moved ) use( None ); }
10149
10150 void Colour::use( Code _colourCode ) {
10151 static IColourImpl* impl = platformColourInstance();
10152 // Strictly speaking, this cannot possibly happen.
10153 // However, under some conditions it does happen (see #1626),
10154 // and this change is small enough that we can let practicality
10155 // triumph over purity in this case.
10156 if (impl != NULL) {
10157 impl->use( _colourCode );
10158 }
10159 }
10160
10161 std::ostream& operator << ( std::ostream& os, Colour const& ) {
10162 return os;

Callers

nothing calls this directly

Calls 1

platformColourInstanceFunction · 0.85

Tested by

no test coverage detected