mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
tests: Add std::locale::global to list of locale dependent functions in lint-locale-dependence.sh
We currently flag `setlocale(...)` as locale dependent, but prior to this commit we didn't flag `std::locale::global(...)` as such. In addition to setting the global C++ locale `std::locale::global(...)` also does the equivalent of `std::setlocale(LC_ALL, ...);`. Thus the functionality of `std::locale::global(...)` is a superset of `setlocale(...)` :)
This commit is contained in:
parent
e831f18b1e
commit
54b5eb2b14
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ LOCALE_DEPENDENT_FUNCTIONS=(
|
|||
snprintf
|
||||
sprintf
|
||||
sscanf
|
||||
std::locale::global
|
||||
std::to_string
|
||||
stod
|
||||
stof
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue