aboutsummaryrefslogtreecommitdiff
path: root/editors/imhex/files/patch-lib_libimhex_source_api_imhex__api.cpp
blob: 0bea605d4827eef713d9ebc5565f976c9ae074d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- lib/libimhex/source/api/imhex_api.cpp.orig	2022-11-14 09:07:21 UTC
+++ lib/libimhex/source/api/imhex_api.cpp
@@ -4,6 +4,7 @@
 #include <hex/api/event.hpp>
 #include <hex/providers/provider.hpp>
 
+#include <range/v3/algorithm.hpp>
 #include <utility>
 #include <unistd.h>
 
@@ -272,7 +273,7 @@ namespace hex {
         }
 
         bool isDirty() {
-            return std::ranges::any_of(s_providers, [](const auto &provider) {
+            return ranges::any_of(s_providers, [](const auto &provider) {
                 return provider->isDirty();
             });
         }