mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
style: whitespaces fixed to make pre-commit happy
This commit is contained in:
@@ -253,7 +253,7 @@ Example 2 (gcc):
|
||||
=== "Now"
|
||||
|
||||
```txt
|
||||
error: no matching function for call to 'Box::Box(quantity<reference<isq::height, si::metre>(), int>, quantity<reference<horizontal_length, si::metre>(), int>,
|
||||
error: no matching function for call to 'Box::Box(quantity<reference<isq::height, si::metre>(), int>, quantity<reference<horizontal_length, si::metre>(), int>,
|
||||
quantity<reference<isq::width, si::metre>(), int>)'
|
||||
27 | Box my_box(isq::height(1 * m), horizontal_length(2 * m), isq::width(3 * m));
|
||||
| ^
|
||||
@@ -270,7 +270,7 @@ Example 2 (gcc):
|
||||
=== "Before"
|
||||
|
||||
```txt
|
||||
error: no matching function for call to 'Box::Box(quantity<reference<isq::height(), si::metre()>(), int>, quantity<reference<horizontal_length(), si::metre()>(), int>,
|
||||
error: no matching function for call to 'Box::Box(quantity<reference<isq::height(), si::metre()>(), int>, quantity<reference<horizontal_length(), si::metre()>(), int>,
|
||||
quantity<reference<isq::width(), si::metre()>(), int>)'
|
||||
27 | Box my_box(isq::height(1 * m), horizontal_length(2 * m), isq::width(3 * m));
|
||||
| ^
|
||||
|
Reference in New Issue
Block a user