style: clang-format new rules applied to the code base

This commit is contained in:
Mateusz Pusz
2023-05-26 14:20:00 +02:00
parent 561fbf7c93
commit 52bbd00ab4
20 changed files with 78 additions and 60 deletions

View File

@@ -103,8 +103,8 @@ int main()
using namespace mp_units::si::unit_symbols;
const auto height = isq::height(200 * mm);
auto tank = RectangularStorageTank(isq::length(1000 * mm), isq::width(500 * mm), height);
tank.set_contents_density(1000 * isq::mass_density[kg / m3]);
auto tank = RectangularStorageTank(isq::length(1'000 * mm), isq::width(500 * mm), height);
tank.set_contents_density(1'000 * isq::mass_density[kg / m3]);
const auto fill_time = 200 * s; // time since starting fill
const auto measured_mass = 20. * kg; // measured mass at fill_time