Format osgpluginchecker.cpp.in

I formatted the generated file that's part of the VS solution, then diffed it against the input and changed it to match.
fix-osga-rotate-wildly
AnyOldName3 10 months ago
parent 2a5f8d5bab
commit bcd54ab1ff

@ -64,14 +64,16 @@ namespace Misc
bool haveAllPlugins = true;
for (std::string_view plugin : USED_OSG_PLUGIN_FILENAMES)
{
if (std::find_if(availableOSGPlugins.begin(), availableOSGPlugins.end(), [&](std::string_view availablePlugin) {
if (std::find_if(availableOSGPlugins.begin(), availableOSGPlugins.end(),
[&](std::string_view availablePlugin) {
#ifdef OSG_USE_UTF8_FILENAME
std::filesystem::path pluginPath{ stringToU8String(availablePlugin) };
#else
std::filesystem::path pluginPath {availablePlugin};
#endif
return pluginPath.filename() == plugin;
}) == availableOSGPlugins.end())
})
== availableOSGPlugins.end())
{
Log(Debug::Error) << "Missing OSG plugin: " << plugin;
haveAllPlugins = false;

Loading…
Cancel
Save