Skip to content

Commit

Permalink
Use DigestTypeParam instead of DigestType in `DigesterHandle::Met…
Browse files Browse the repository at this point in the history
…hods`.

MSVC does not like the alias here for some reason.

PiperOrigin-RevId: 631468649
  • Loading branch information
QrczakMK committed May 7, 2024
1 parent 3498555 commit 7ab6106
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion riegeli/digests/digester_handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ class DigesterHandle : public DigesterBaseHandle {
}

struct Methods : DigesterBaseHandle::Methods {
DigestType (*digest)(void* target);
// MSVC does not like the `DigestType` alias here for some reason.
DigestTypeParam (*digest)(void* target);
};

#if __cpp_aggregate_bases
Expand Down

0 comments on commit 7ab6106

Please sign in to comment.