From 83aee04da0e4ce9b5ea6ef7e50d2335f57f099cc Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 3 Feb 2023 16:57:48 +0100 Subject: [PATCH] refactor: `quantity_io.h` renamed to `iostream.h` --- example/avg_speed.cpp | 2 +- example/capacitor_time_curve.cpp | 2 +- example/clcpp_response.cpp | 2 +- example/hello_units.cpp | 2 +- example/linear_algebra.cpp | 2 +- example/measurement.cpp | 2 +- example/strong_angular_quantities.cpp | 2 +- example/total_energy.cpp | 2 +- src/core-io/CMakeLists.txt | 2 +- src/core-io/include/mp_units/{quantity_io.h => iostream.h} | 0 test/unit_test/runtime/distribution_test.cpp | 2 +- test/unit_test/runtime/fmt_test.cpp | 2 +- test/unit_test/runtime/linear_algebra_test.cpp | 2 +- test/unit_test/runtime/math_test.cpp | 2 +- 14 files changed, 13 insertions(+), 13 deletions(-) rename src/core-io/include/mp_units/{quantity_io.h => iostream.h} (100%) diff --git a/example/avg_speed.cpp b/example/avg_speed.cpp index bf1243cb..cbb707f3 100644 --- a/example/avg_speed.cpp +++ b/example/avg_speed.cpp @@ -20,7 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -#include +#include #include #include #include diff --git a/example/capacitor_time_curve.cpp b/example/capacitor_time_curve.cpp index a9f99482..726623b5 100644 --- a/example/capacitor_time_curve.cpp +++ b/example/capacitor_time_curve.cpp @@ -21,7 +21,7 @@ */ #include // IWYU pragma: keep -#include +#include #include #include #include diff --git a/example/clcpp_response.cpp b/example/clcpp_response.cpp index 743d47e4..b7885509 100644 --- a/example/clcpp_response.cpp +++ b/example/clcpp_response.cpp @@ -16,7 +16,7 @@ */ #include -#include +#include #include #include #include diff --git a/example/hello_units.cpp b/example/hello_units.cpp index 4acc8e0a..227c67aa 100644 --- a/example/hello_units.cpp +++ b/example/hello_units.cpp @@ -21,7 +21,7 @@ // SOFTWARE. #include -#include +#include #include #include #include diff --git a/example/linear_algebra.cpp b/example/linear_algebra.cpp index b159bb75..ab33e043 100644 --- a/example/linear_algebra.cpp +++ b/example/linear_algebra.cpp @@ -24,7 +24,7 @@ // linear_algebra.hpp has to be included first otherwise the header will fail to compile! #include #include -#include +#include #include #include #include diff --git a/example/measurement.cpp b/example/measurement.cpp index 86c17e9c..17e51c16 100644 --- a/example/measurement.cpp +++ b/example/measurement.cpp @@ -20,7 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -#include +#include #include #include #include diff --git a/example/strong_angular_quantities.cpp b/example/strong_angular_quantities.cpp index 08c0814e..5bb360d4 100644 --- a/example/strong_angular_quantities.cpp +++ b/example/strong_angular_quantities.cpp @@ -21,7 +21,7 @@ // SOFTWARE. #include -#include +#include #include #include #include diff --git a/example/total_energy.cpp b/example/total_energy.cpp index 7c5e04c7..1a74e6ed 100644 --- a/example/total_energy.cpp +++ b/example/total_energy.cpp @@ -20,8 +20,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. +#include #include -#include #include #include #include diff --git a/src/core-io/CMakeLists.txt b/src/core-io/CMakeLists.txt index dadc1d2e..dbae49a6 100644 --- a/src/core-io/CMakeLists.txt +++ b/src/core-io/CMakeLists.txt @@ -22,4 +22,4 @@ cmake_minimum_required(VERSION 3.19) -add_units_module(core-io DEPENDENCIES mp-units::core HEADERS include/mp_units/quantity_io.h) +add_units_module(core-io DEPENDENCIES mp-units::core HEADERS include/mp_units/iostream.h) diff --git a/src/core-io/include/mp_units/quantity_io.h b/src/core-io/include/mp_units/iostream.h similarity index 100% rename from src/core-io/include/mp_units/quantity_io.h rename to src/core-io/include/mp_units/iostream.h diff --git a/test/unit_test/runtime/distribution_test.cpp b/test/unit_test/runtime/distribution_test.cpp index f4ffadcf..d8a3c289 100644 --- a/test/unit_test/runtime/distribution_test.cpp +++ b/test/unit_test/runtime/distribution_test.cpp @@ -21,7 +21,7 @@ // SOFTWARE. #include -#include +#include #include #include #include diff --git a/test/unit_test/runtime/fmt_test.cpp b/test/unit_test/runtime/fmt_test.cpp index 8fa21504..61e5d222 100644 --- a/test/unit_test/runtime/fmt_test.cpp +++ b/test/unit_test/runtime/fmt_test.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/test/unit_test/runtime/linear_algebra_test.cpp b/test/unit_test/runtime/linear_algebra_test.cpp index 3dcfd48c..4df0eb0a 100644 --- a/test/unit_test/runtime/linear_algebra_test.cpp +++ b/test/unit_test/runtime/linear_algebra_test.cpp @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/test/unit_test/runtime/math_test.cpp b/test/unit_test/runtime/math_test.cpp index 36ea6e83..47fc48a4 100644 --- a/test/unit_test/runtime/math_test.cpp +++ b/test/unit_test/runtime/math_test.cpp @@ -23,7 +23,7 @@ #include "almost_equals.h" #include #include -#include +#include #include #include #include