MCPcopy Create free account
hub / github.com/dirkvdb/ffmpegthumbnailer / makeSafe

Method makeSafe

test/testframework/catch.hpp:339–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 typedef void (SafeBool::*type)() const;
338
339 static type makeSafe( bool value ) {
340 return value ? &SafeBool::trueValue : 0;
341 }
342 private:
343 void trueValue() const {}
344 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected