fix: inline restored for non-template constexpr global variables

This commit is contained in:
Mateusz Pusz committed 2024-09-05 10:06:43 +02:00
1 parent 2e840cfdb4
commit 45013f6752
63 files changed
+1591 -1589

No files matched your search

@@ -219,7 +219,7 @@ implicitly convertible from quantity specification `V`, which means that `V` mus
However, if we define `mean_sea_level` in the following way:
```cpp
constexpr struct mean_sea_level final : absolute_point_origin<isq::altitude> {} mean_sea_level;
inline constexpr struct mean_sea_level final : absolute_point_origin<isq::altitude> {} mean_sea_level;
```
then it can't be used as a point origin for _points_ of `isq::length` or `isq::width` as none of them