Skip to content

Commit

Permalink
Initialize bool in DescriptorSet.h (#8173)
Browse files Browse the repository at this point in the history
This class has a ( = default) constructor and hence should have
explicit initialization in its definition.
  • Loading branch information
poweifeng committed Oct 14, 2024
1 parent b8f43e4 commit 1d0c23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filament/src/ds/DescriptorSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class DescriptorSet {
mutable utils::bitset64 mDirty; // 8
mutable utils::bitset64 mValid; // 8
backend::DescriptorSetHandle mDescriptorSetHandle; // 4
mutable bool mSetAfterCommitWarning; // 1
mutable bool mSetAfterCommitWarning = false; // 1
};

} // namespace filament
Expand Down

0 comments on commit 1d0c23a

Please sign in to comment.