Skip to content

Commit 710305d

Browse files
committed
fix: Fix typo
1 parent 13c9085 commit 710305d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-nitro-modules/cpp/prototype/Prototype.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct Prototype final {
6060
static std::shared_ptr<Prototype> get(const NativeInstanceId& typeId, const std::shared_ptr<Prototype>& base = nullptr) {
6161
static std::unordered_map<NativeInstanceId, std::shared_ptr<Prototype>> _prototypesCache;
6262

63-
auto [it, inserted] = cache.try_emplace(typeId);
63+
auto [it, inserted] = _prototypesCache.try_emplace(typeId);
6464
if (inserted) {
6565
// This is the first time we see this C++ type ID - create a new base Prototype for this.
6666
it->second = std::shared_ptr<Prototype>(new Prototype(typeId, base));

0 commit comments

Comments
 (0)