MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isUsed

Method isUsed

snap_drawing/src/snap_drawing/cpp/Drawing/Raster/BitmapCache.cpp:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20bool BitmapCache::Entry::isUsed() const {
21 return _bitmap.use_count() > 1;
22}
23
24const Ref<Valdi::IBitmap>& BitmapCache::Entry::getBitmap() const {
25 return _bitmap;

Callers 2

allocateBitmapMethod · 0.80
clearUnusedMethod · 0.80

Calls 1

use_countMethod · 0.80

Tested by

no test coverage detected