MCPcopy Create free account
hub / github.com/apache/trafficserver / use

Method use

lib/catch2/catch.hpp:10275–10284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10273 Colour::~Colour(){ if( !m_moved ) use( None ); }
10274
10275 void Colour::use( Code _colourCode ) {
10276 static IColourImpl* impl = platformColourInstance();
10277 // Strictly speaking, this cannot possibly happen.
10278 // However, under some conditions it does happen (see #1626),
10279 // and this change is small enough that we can let practicality
10280 // triumph over purity in this case.
10281 if (impl != nullptr) {
10282 impl->use( _colourCode );
10283 }
10284 }
10285
10286 std::ostream& operator << ( std::ostream& os, Colour const& ) {
10287 return os;

Callers

nothing calls this directly

Calls 1

platformColourInstanceFunction · 0.85

Tested by

no test coverage detected