From 0ac89ccd9e736c3f2662f63c5898d940ec6b8dd3 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 18 Oct 2019 00:33:18 +0200 Subject: [PATCH] [util] Add missing != operator to Sha1Hash --- src/util/sha1/sha1_util.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/sha1/sha1_util.h b/src/util/sha1/sha1_util.h index f18cf9d9e..9d83ab8c1 100644 --- a/src/util/sha1/sha1_util.h +++ b/src/util/sha1/sha1_util.h @@ -37,6 +37,10 @@ namespace dxvk { other.m_digest.size()); } + bool operator != (const Sha1Hash& other) const { + return !this->operator == (other); + } + static Sha1Hash compute( const void* data, size_t size);