fix: missing <locale> header file added

This commit is contained in:
Mateusz Pusz
2024-05-30 08:30:41 +02:00
parent 1d1057aa44
commit 09fa158f21
3 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,7 @@
#include <mp-units/compat_macros.h> #include <mp-units/compat_macros.h>
#include <algorithm> #include <algorithm>
#include <locale>
#include <tuple> #include <tuple>
#ifdef MP_UNITS_MODULES #ifdef MP_UNITS_MODULES
import mp_units; import mp_units;

View File

@@ -35,6 +35,7 @@
#include <initializer_list> #include <initializer_list>
#include <iterator> #include <iterator>
#include <limits> #include <limits>
#include <locale>
#include <numbers> #include <numbers>
#include <numeric> #include <numeric>
#include <optional> #include <optional>

View File

@@ -32,6 +32,10 @@
#include <mp-units/framework/quantity.h> #include <mp-units/framework/quantity.h>
#include <mp-units/framework/unit.h> #include <mp-units/framework/unit.h>
#ifndef MP_UNITS_IN_MODULE_INTERFACE
#include <locale>
#endif
namespace mp_units::detail { namespace mp_units::detail {
template<typename Char> template<typename Char>