Skip to content

Commit b3c07ad

Browse files
authored
fix: Add missing header file (#56)
## Description There is a missing header for Constants.mm, which causes the build to crash. This PR fixes that by adding the header file ### Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 078b85b commit b3c07ad

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ios/RnExecutorch/utils/Constants.h

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#ifndef Constants_h
2+
#define Constants_h
3+
4+
#include <map>
5+
6+
extern const std::unordered_map<int, std::string> cocoLabelsMap;
7+
8+
#endif /* Constants_h */

0 commit comments

Comments
 (0)