Editor: code style fixups in 2 files
A few small fixes ( for range loops + one -> check) Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
@@ -75,11 +75,7 @@ public:
|
||||
|
||||
void SetGlobalSelection(const char* resourceType, const char* value) override
|
||||
{
|
||||
if (!resourceType)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!value)
|
||||
if (!resourceType || !value)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -101,7 +97,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
using TTypeMap = std::map<string, const SStaticResourceSelectorEntry *, stl::less_stricmp<string>>;
|
||||
using TTypeMap = std::map<string, const SStaticResourceSelectorEntry*, stl::less_stricmp<string>>;
|
||||
TTypeMap m_typeMap;
|
||||
|
||||
std::map<string, string> m_globallySelectedResources;
|
||||
|
||||
Reference in New Issue
Block a user