Ticket #19741: poppler-24.05.0-C++20_adjustment-1.patch
File poppler-24.05.0-C++20_adjustment-1.patch, 606 bytes (added by , 5 weeks ago) |
---|
-
goo/GooString.h
diff -Naur poppler-24.05.0.orig/goo/GooString.h poppler-24.05.0/goo/GooString.h
old new 237 237 int cmp(const char *sA) const { return compare(sA); } 238 238 int cmpN(const char *sA, int n) const { return compare(0, n, sA); } 239 239 240 #if __cplusplus >= 202002L 240 241 // Return true if strings starts with prefix 241 242 using std::string::starts_with; 242 243 243 244 // Return true if string ends with suffix 244 245 using std::string::ends_with; 246 #endif 245 247 }; 246 248 247 249 #endif