fix: missing header files added to unit.h and dimension.h

This commit is contained in:
Mateusz Pusz
2024-02-27 10:21:44 +01:00
parent 64b8ace663
commit 563895137a
2 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,13 @@
#include <mp-units/bits/symbol_text.h> #include <mp-units/bits/symbol_text.h>
#include <mp-units/bits/text_tools.h> #include <mp-units/bits/text_tools.h>
#ifndef MP_UNITS_IN_MODULE_INTERFACE
#include <array>
#include <iterator>
#include <string>
#include <string_view>
#endif
namespace mp_units { namespace mp_units {
/** /**

View File

@@ -38,7 +38,9 @@
#include <mp-units/bits/unit_concepts.h> #include <mp-units/bits/unit_concepts.h>
#ifndef MP_UNITS_IN_MODULE_INTERFACE #ifndef MP_UNITS_IN_MODULE_INTERFACE
#include <array>
#include <iterator> #include <iterator>
#include <string>
#include <string_view> #include <string_view>
#endif #endif