Update clang-format
This commit is contained in:
+1
-1
@@ -106,6 +106,6 @@ SpacesInAngles: false
|
|||||||
SpacesInCStyleCastParentheses: false
|
SpacesInCStyleCastParentheses: false
|
||||||
SpacesInParentheses: false
|
SpacesInParentheses: false
|
||||||
SpacesInSquareBrackets: false
|
SpacesInSquareBrackets: false
|
||||||
Standard: Cpp11
|
Standard: Latest
|
||||||
TabWidth: 8
|
TabWidth: 8
|
||||||
UseTab: ForIndentation
|
UseTab: ForIndentation
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Run clang-format style check for C/C++/Protobuf programs.
|
- name: Run clang-format style check for C/C++/Protobuf programs.
|
||||||
uses: jidicula/clang-format-action@v4.13.0
|
uses: jidicula/clang-format-action@2c659fea724e981e94741c0e7db663982cd7d3f4
|
||||||
with:
|
with:
|
||||||
clang-format-version: '18'
|
clang-format-version: '21'
|
||||||
check-path: ${{ matrix.path }}
|
check-path: ${{ matrix.path }}
|
||||||
|
|||||||
@@ -1674,8 +1674,7 @@ void application::run()
|
|||||||
#else
|
#else
|
||||||
void application::run()
|
void application::run()
|
||||||
{
|
{
|
||||||
struct sigaction act
|
struct sigaction act{};
|
||||||
{};
|
|
||||||
act.sa_handler = [](int) {
|
act.sa_handler = [](int) {
|
||||||
instance().exit_requested = true;
|
instance().exit_requested = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user