Skip to content

Commit ff26176

Browse files
committed
Removed irrelevant parts of compare implementation.
1 parent 2a128a0 commit ff26176

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/vsg/state/ViewDependentState.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ ViewDescriptorSetLayout::ViewDescriptorSetLayout()
7676

7777
int ViewDescriptorSetLayout::compare(const Object& rhs_object) const
7878
{
79-
int result = DescriptorSetLayout::compare(rhs_object);
80-
if (result != 0) return result;
81-
82-
const auto& rhs = static_cast<decltype(*this)>(rhs_object);
83-
return compare_pointer(_viewDescriptorSetLayout, rhs._viewDescriptorSetLayout);
79+
return DescriptorSetLayout::compare(rhs_object);
8480
}
8581

8682
void ViewDescriptorSetLayout::read(Input& input)

0 commit comments

Comments
 (0)