diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bc8954d..a0f1c87 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - qt_version: ['6.8.3'] + qt_version: ['6.10.3'] # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix diff --git a/hekatoolslib/exportNPY.cpp b/hekatoolslib/exportNPY.cpp index 651a30d..2b07766 100644 --- a/hekatoolslib/exportNPY.cpp +++ b/hekatoolslib/exportNPY.cpp @@ -121,6 +121,8 @@ namespace hkLib { void NPYorBINExportTrace(std::istream& datafile, hkTreeNode& TrRecord, std::filesystem::path filename, bool createJSON = true) { assert(TrRecord.getLevel() == hkTreeNode::LevelTrace); + locale_manager lm; + lm.setLocale("C"); auto yunit = TrRecord.getString(TrYUnit); auto xunit = TrRecord.getString(TrXUnit); auto x0 = TrRecord.extractLongReal(TrXStart); @@ -140,8 +142,6 @@ namespace hkLib { } if (createJSON) { - locale_manager lm; - lm.setLocale("C"); filename.replace_extension("json"); std::ofstream jsonfile(filename); if (!jsonfile) {