Skip to content

Commit a17a5bd

Browse files
committed
Pass locale by const ref
1 parent 46e172f commit a17a5bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/common/src/LocaleHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class LocaleResetter
5050
}
5151
}
5252

53-
std::locale changeGlobalLocale(std::locale locale)
53+
std::locale changeGlobalLocale(const std::locale& locale)
5454
{
5555
std::locale oldLocale = std::locale::global(locale);
5656
if(!originalLocale)

0 commit comments

Comments
 (0)