Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde committed Feb 19, 2024
1 parent 678957d commit b6b69d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impeller/renderer/backend/vulkan/yuv_conversion_vk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ bool YUVConversionDescriptorVKEqual::operator()(

ImmutableSamplerKey::ImmutableSamplerKey(const SamplerVK& sampler)
: sampler(sampler.GetDescriptor()) {
if (auto conversion = sampler.GetYUVConversion()) {
if (const auto& conversion = sampler.GetYUVConversion()) {
yuv_conversion = conversion->GetDescriptor();
}
}
Expand Down

0 comments on commit b6b69d0

Please sign in to comment.