From 8a27fa9c617533e76673ce61a65e2ba869b52208 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 31 Aug 2020 20:07:13 -0400 Subject: add upstream 11.1 --- zen/file_id_def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zen/file_id_def.h') diff --git a/zen/file_id_def.h b/zen/file_id_def.h index 55ee77f5..d2d104d5 100644 --- a/zen/file_id_def.h +++ b/zen/file_id_def.h @@ -31,8 +31,9 @@ struct FileId //always available on Linux, and *generally* available on Windows) } VolumeId volumeId = 0; FileIndex fileIndex = 0; + + bool operator==(const FileId&) const = default; }; -inline bool operator==(const FileId& lhs, const FileId& rhs) { return lhs.volumeId == rhs.volumeId && lhs.fileIndex == rhs.fileIndex; } inline -- cgit