blob: a794cf62bb70e1828819c14596a7caeb20cc866a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- kleopatra/utils/classify.cpp
+++ kleopatra/utils/classify.cpp
@@ -43,7 +43,7 @@
#include <boost/range.hpp>
-#ifdef __GNUC__
+#ifdef __GLIBCXX__
# include <ext/algorithm>
#endif
@@ -150,7 +150,7 @@ unsigned int Kleo::classify( const QStringList & fileNames ) {
}
unsigned int Kleo::classify( const QString & filename ) {
-#ifdef __GNUC__
+#ifdef __GLIBCXX__
assert( __gnu_cxx::is_sorted( begin( classifications ), end( classifications ), ByExtension<std::less>() ) );
#endif
@@ -179,7 +179,7 @@ unsigned int Kleo::classify( const QString & filename ) {
}
unsigned int Kleo::classifyContent( const QByteArray & data ) {
-#ifdef __GNUC__
+#ifdef __GLIBCXX__
assert( __gnu_cxx::is_sorted( begin( content_classifications ), end( content_classifications ), ByContent<std::less>(100) ) );
#endif
|