mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
UI: Fix formatting with both 12.0.0 and 12.0.1
This single line in the entire project causes a difference between clang-format 12.0.0 and 12.0.1. So, just rearrange the code so it works with both instead.
This commit is contained in:
parent
de0610a03a
commit
c46a719c9c
|
@ -512,8 +512,8 @@ static obs_data_t *GenerateSaveData(obs_data_array_t *sceneOrder,
|
|||
|
||||
obs_data_array_t *sourcesArray = obs_save_sources_filtered(
|
||||
[](void *data, obs_source_t *source) {
|
||||
return (*static_cast<FilterAudioSources_t *>(
|
||||
data))(source);
|
||||
auto &func = *static_cast<FilterAudioSources_t *>(data);
|
||||
return func(source);
|
||||
},
|
||||
static_cast<void *>(&FilterAudioSources));
|
||||
|
||||
|
|
Loading…
Reference in a new issue