@@ -92,7 +92,7 @@ namespace cycfi::elements
92
92
}
93
93
94
94
template <axis Axis, class TileElement , axis OtherAxis = other(Axis)>
95
- [[gnu::always_inline]] inline auto compute_limits (basic_context const & ctx, const TileElement &tile) -> view_limits
95
+ CYCFI_FORCE_INLINE auto compute_limits (basic_context const & ctx, const TileElement &tile) -> view_limits
96
96
{
97
97
view_limits limits{{0.0 , 0.0 },
98
98
{Axis == axis::x ? 0.0 : full_extent,
@@ -113,7 +113,7 @@ namespace cycfi::elements
113
113
}
114
114
115
115
template <axis Axis, class TileElement , axis OtherAxis = other(Axis)>
116
- [[gnu::always_inline]] inline auto compute_layout (context const & ctx, TileElement &tile, std::vector<float > &tile_offsets) -> void
116
+ CYCFI_FORCE_INLINE auto compute_layout (context const & ctx, TileElement &tile, std::vector<float > &tile_offsets) -> void
117
117
{
118
118
auto const sz = tile.size ();
119
119
@@ -156,7 +156,7 @@ namespace cycfi::elements
156
156
}
157
157
158
158
template <axis Axis, axis OtherAxis = other(Axis)>
159
- [[gnu::always_inline]] inline auto compute_bounds_of (rect const & bounds, std::size_t index, const std::vector<float > &tile_offsets) -> rect
159
+ CYCFI_FORCE_INLINE auto compute_bounds_of (rect const & bounds, std::size_t index, const std::vector<float > &tile_offsets) -> rect
160
160
{
161
161
if (index >= tile_offsets.size ())
162
162
return {};
0 commit comments