summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/contents.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/contents.h b/ftparchive/contents.h
index e23191cd3..a78f9d5e9 100644
--- a/ftparchive/contents.h
+++ b/ftparchive/contents.h
@@ -27,7 +27,7 @@ class GenContents
{
const char *data;
const char *c_str() const { return data; }
- bool operator<(const StringInBlock &other) const { return strcmp(data, other.data) < 0; }
+ auto operator<=>(const StringInBlock &other) const noexcept { return strcmp(data, other.data); }
};
struct BigBlock
{