Skip to content

Commit

Permalink
Remove missed conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreSi committed Oct 12, 2023
1 parent f5fed4c commit 548b6bf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Core/GDCore/Project/ObjectsContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,7 @@ bool ObjectsContainer::HasObjectNamed(const gd::String& name) const {
gd::Object& ObjectsContainer::GetObject(const gd::String& name) {
return *(*find_if(initialObjects.begin(),
initialObjects.end(),
<<<<<<< HEAD
[&](const std::unique_ptr<gd::Object>& object) { return object->GetName() == name; }));
=======
[&name](std::unique_ptr<gd::Object>& object) {
return object->GetName() == name;
}));
>>>>>>> Remove former way to find object where possible
}
const gd::Object& ObjectsContainer::GetObject(const gd::String& name) const {
return *(*find_if(initialObjects.begin(),
Expand Down

0 comments on commit 548b6bf

Please sign in to comment.