Skip to content

Commit

Permalink
no ref for key on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Nov 13, 2018
1 parent d25be2c commit 77ee9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atom/browser/browser_mac.mm
Expand Up @@ -393,7 +393,7 @@ void RemoveFromLoginItems() {
about_panel_options_.Clear();

for (const auto& pair : options) {
const std::string& key = pair.first;
std::string key = pair.first;
const auto& val = pair.second;
if (!key.empty() && val->is_string()) {
key[0] = base::ToUpperASCII(key[0]);
Expand Down

0 comments on commit 77ee9db

Please sign in to comment.