Skip to content

Commit 1f66ae1

Browse files
committed
remove unused function
1 parent 446b34d commit 1f66ae1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/include/elements/view.hpp

-7
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ namespace cycfi { namespace elements
173173
return rect{0, 0, size.x, size.y};
174174
}
175175

176-
// declared in context.hpp
177-
CYCFI_FORCE_INLINE void cache_element_bounds(view& v, element* e, rect const& bounds)
178-
{
179-
if (auto i = v._bounds_map.find(e); i != v._bounds_map.end())
180-
i->second = bounds;
181-
}
182-
183176
inline rect view::dirty() const
184177
{
185178
return _dirty;

0 commit comments

Comments
 (0)