mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
Convert more RetainPtr use to Retained.
This commit is contained in:
parent
2cfcbdc735
commit
15fb917f28
16 changed files with 41 additions and 56 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
class CharacterBitmap : public Retainable<CharacterBitmap> {
|
||||
public:
|
||||
static RetainPtr<CharacterBitmap> create_from_ascii(const char* asciiData, unsigned width, unsigned height);
|
||||
static Retained<CharacterBitmap> create_from_ascii(const char* asciiData, unsigned width, unsigned height);
|
||||
~CharacterBitmap();
|
||||
|
||||
bool bit_at(unsigned x, unsigned y) const { return m_bits[y * width() + x] == '#'; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue