Update SettingsProfilesCache.cpp

This commit is contained in:
Nikita Mikhaylov 2022-06-14 00:16:28 +02:00 committed by GitHub
parent 9555153f95
commit fc626b2897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,8 @@ void SettingsProfilesCache::substituteProfiles(
continue;
auto profile_it = all_profiles.find(profile_id);
if (profile_it == all_profiles.end()) {
if (profile_it == all_profiles.end())
{
/// If the textual profile name is set, then users are configured via XML.
/// For these users we want to throw an exception when their profile can't
/// be found. Otherwise, these users are super admins.