Skip to content

Commit e3b778b

Browse files
committed
FIX: build error on Linux
1 parent 1ee1e08 commit e3b778b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- develop
77
- release/*
88
- feat/*
9+
- hotfix/*
910
tags:
1011
- v2.*
1112

src/gui/doclistviewer/WizDocumentListView.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -899,9 +899,8 @@ void WizDocumentListView::resetPermission()
899899
bool bCanEdit = isDocumentsAllCanDelete(arrayDocument);
900900
bool bAlwaysOnTop = isDocumentsAlwaysOnTop(arrayDocument);
901901
bool bMulti = arrayDocument.size() > 1;
902-
bool bCollaboration = std::any_of(
903-
arrayDocument.cbegin(), arrayDocument.cend(),
904-
[](const auto &doc) { return doc.strType == "collaboration"; });
902+
bool bCollaboration = std::any_of(arrayDocument.cbegin(), arrayDocument.cend(),
903+
[](const WIZDOCUMENTDATAEX &doc) { return doc.strType == "collaboration"; });
905904

906905
// if group documents or deleted documents selected
907906
if (bGroup || bDeleted) {

0 commit comments

Comments
 (0)