diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 21:40:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-29 21:40:49 -0500 |
| commit | e0e8acd3db4ba1d50384f26305c6cc9021652840 (patch) | |
| tree | 2dbea485a392789fc67aa590f8a7afb9f263be3c /public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h | |
| parent | 44ad26b648a79503303c596bb20a6995255dc630 (diff) | |
| parent | b456c928fecf78157270b052e441a427f06afdda (diff) | |
Merge pull request #94 from nekernel-org/dev
Vet.h and Ref.h
Diffstat (limited to 'public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h')
| -rw-r--r-- | public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h b/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h index fa4b17b9..75b6bb27 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h @@ -19,13 +19,12 @@ class CFDictionary final { CFDictionary(const CFDictionary&) = default; Value& operator[](Key& at) { - MUST_PASS(this->Find(at)); - return fArray[at]; + return this->Find(at); } Bool Empty() { return this->fCount > 0; } - Bool Find(Key& key) { return No; } + Bool Find(Key& key) { NE_UNUSED(key); return false; } operator bool() { return !this->Empty(); } |
