Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Aug 12, 2024
1 parent 3914330 commit c0a8838
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tmx/TmxApi/tmx/messages/message.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,11 @@ class tmx_message {
erase_object(objectName);
this->as_tree().get().add_child(objectName, Element::to_tree(obj));
}

/**
* @brief Erase a certain object from the tree given the object name.
* @param Name of the object
* @param Object An object to be erased from the tree
*/
void erase_object(const std::string& objName)
{
this->as_tree().get().erase(objName);
Expand Down

0 comments on commit c0a8838

Please sign in to comment.