We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96af963 commit a9ff893Copy full SHA for a9ff893
XMapLib/MapFunctions.h
@@ -10,7 +10,7 @@ namespace sds::Utilities::MapFunctions
10
template<class T, class H>
11
bool IsInMap(const T keyValue, const std::map<T, H>& curMap, H& retVal)
12
{
13
- auto it = curMap.find(keyValue);
+ const auto it = curMap.find(keyValue);
14
if(it != curMap.end())
15
16
retVal = it->second;
0 commit comments