diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2017-08-24 01:24:09 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-24 01:24:09 +0300 |
commit | 4af437583897f0fe38b60ea23cdc9f71ee281b4d (patch) | |
tree | 1121f091d78e81563835b934a86c6e2a2dcb28c4 /common | |
parent | d033eea8b4dc2bb5471223fbeb9b979e3017d328 (diff) |
Do not use TR namespace for supported features in the standard library
Diffstat (limited to 'common')
-rw-r--r-- | common/DSUtilLite/locale.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/DSUtilLite/locale.cpp b/common/DSUtilLite/locale.cpp index 9f431652..2f68fbaf 100644 --- a/common/DSUtilLite/locale.cpp +++ b/common/DSUtilLite/locale.cpp @@ -612,9 +612,9 @@ std::string ProbeForISO6392(LPCSTR lang) } else if (strlen(lang) > 3) { isoLang = LanguageToISO6392(lang); if (isoLang.empty()) { - std::tr1::regex ogmRegex("\\[([[:alpha:]]{3})\\]"); - std::tr1::cmatch res; - bool found = std::tr1::regex_search(lang, res, ogmRegex); + std::regex ogmRegex("\\[([[:alpha:]]{3})\\]"); + std::cmatch res; + bool found = std::regex_search(lang, res, ogmRegex); if (found && !res[1].str().empty()) { isoLang = ISO6392Check(res[1].str().c_str()); } |