Skip to content

Commit

Permalink
Remove auto types
Browse files Browse the repository at this point in the history
  • Loading branch information
zarubond committed Oct 10, 2018
1 parent 72cff16 commit 6db9f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atom/browser/api/atom_api_app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -893,8 +893,8 @@ std::string App::GetRegion() {
region = tmp;
}
#elif defined(OS_MACOSX)
auto locale = CFLocaleCopyCurrent();
auto value = CFStringRef(
CFLocaleRef locale = CFLocaleCopyCurrent();
CFStringRef value = CFStringRef(
static_cast<CFTypeRef>(CFLocaleGetValue(locale, kCFLocaleCountryCode)));
const CFIndex kCStringSize = 128;
char temporaryCString[kCStringSize];
Expand Down

0 comments on commit 6db9f19

Please sign in to comment.