[msvc][fix] msvc needs explicit namespace for some using-declarations

This commit is contained in:
Jonas Hoppe
2024-09-03 09:42:21 +02:00
parent f0e19d004c
commit 72e03f4f59
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ namespace {
using namespace mp_units;
using dimension_one_ = struct dimension_one;
using dimension_one_ = struct mp_units::dimension_one;
// clang-format off
inline constexpr struct length_ final : base_dimension<"L"> {} length;
+2 -2
View File
@@ -33,8 +33,8 @@ namespace {
using namespace mp_units;
using dimensionless_ = struct dimensionless;
using dim_one_ = struct dimension_one;
using dimensionless_ = struct mp_units::dimensionless;
using dim_one_ = struct mp_units::dimension_one;
// clang-format off
inline constexpr struct dim_length_ final : base_dimension<"L"> {} dim_length;
+2 -2
View File
@@ -34,8 +34,8 @@ namespace {
using namespace mp_units;
using dimensionless_ = struct dimensionless;
using one_ = struct one;
using dimensionless_ = struct mp_units::dimensionless;
using one_ = struct mp_units::one;
// base dimensions
// clang-format off
+2 -2
View File
@@ -35,8 +35,8 @@ namespace {
using namespace mp_units;
using namespace mp_units::detail;
using one_ = struct one;
using percent_ = struct percent;
using one_ = struct mp_units::one;
using percent_ = struct mp_units::percent;
// base dimensions
// clang-format off