Skip to content

Commit 5bec562

Browse files
authored
library.cpp: use std::unordered_map for some Library::LibraryData members (#8363)
1 parent bb948d2 commit 5bec562

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/library.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ struct Library::LibraryData
123123
std::map<std::string, AllocFunc> mDealloc; // deallocation functions
124124
std::map<std::string, AllocFunc> mRealloc; // reallocation functions
125125
std::unordered_map<std::string, FalseTrueMaybe> mNoReturn; // is function noreturn?
126-
std::map<std::string, std::string> mReturnValue;
127-
std::map<std::string, std::string> mReturnValueType;
128-
std::map<std::string, int> mReturnValueContainer;
126+
std::unordered_map<std::string, std::string> mReturnValue;
127+
std::unordered_map<std::string, std::string> mReturnValueType;
128+
std::unordered_map<std::string, int> mReturnValueContainer;
129129
std::map<std::string, std::vector<MathLib::bigint>> mUnknownReturnValues;
130130
std::map<std::string, bool> mReportErrors;
131131
std::map<std::string, bool> mProcessAfterCode;

0 commit comments

Comments
 (0)