diff options
Diffstat (limited to 'include/Body.hpp')
-rw-r--r-- | include/Body.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp index 23439ec..e1e6fef 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -81,6 +81,7 @@ namespace QuickMedia { int find_item_index(std::function<bool(std::shared_ptr<BodyItem>&)> callback); // Return true to remove the current item. // Returns true if the item was found. + // Note: only removes the first item found. bool erase_item(std::function<bool(std::shared_ptr<BodyItem>&)> callback); std::shared_ptr<BodyItem> get_item_by_index(size_t index); BodyItemList get_items(); |