diff --git a/src/net/autoupdate.cpp b/src/net/autoupdate.cpp index 92f59c32b..1abd7a9bb 100644 --- a/src/net/autoupdate.cpp +++ b/src/net/autoupdate.cpp @@ -35,8 +35,12 @@ #include #ifdef Q_OS_WIN -#include +// Because of replacing to incorrect order, which leads to building failing, +// this region is ignored for clang-format +// clang-format off #include +#include +// clang-format on #endif /** diff --git a/src/platform/camera/directshow.cpp b/src/platform/camera/directshow.cpp index dd32f1bdb..e1902b5b6 100644 --- a/src/platform/camera/directshow.cpp +++ b/src/platform/camera/directshow.cpp @@ -21,14 +21,18 @@ #include "directshow.h" -#include -#include -#include +// Because of replacing to incorrect order, which leads to building failing, +// this region is ignored for clang-format +// clang-format off #include -#include #include #include +#include +#include #include +#include +#include +// clang-format on /** * Most of this file is adapted from libavdevice's dshow.c,