Skip to content

Commit f2abf03

Browse files
committed
tests passing with ml-explore/mlx#2702 locally applied
1 parent bebe5d0 commit f2abf03

File tree

3 files changed

+610
-8
lines changed

3 files changed

+610
-8
lines changed

Source/Cmlx/metal-cpp/Foundation/NSBundle.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Bundle : public Referencing<Bundle>
5353
Bundle* init(const class URL* pURL);
5454

5555
static Array* allBundles();
56-
class Array* allFrameworks() const;
56+
static Array* allFrameworks();
5757

5858
bool load();
5959
bool unload();
@@ -177,9 +177,9 @@ _NS_INLINE NS::Array* NS::Bundle::allBundles()
177177

178178
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
179179

180-
_NS_INLINE NS::Array* NS::Bundle::allFrameworks() const
180+
_NS_INLINE NS::Array* NS::Bundle::allFrameworks()
181181
{
182-
return Object::sendMessage<Array*>(this, _NS_PRIVATE_SEL(allFrameworks));
182+
return Object::sendMessage<Array*>(_NS_PRIVATE_CLS(NSBundle), _NS_PRIVATE_SEL(allFrameworks));
183183
}
184184

185185
//-------------------------------------------------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)