Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertSchwede committed Jun 27, 2024
1 parent 77cef22 commit da1fa1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libwarpaffine/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,15 @@ int Utilities::StrcmpCaseInsensitive(const char* a, const char* b)

libCZI::GUID Utilities::GenerateGuid()
{
#if defined(LIBWARPAFFINE_WIN32_ENVIRONMENT)
#if LIBWARPAFFINE_WIN32_ENVIRONMENT
::GUID guid;
CoCreateGuid(&guid);
libCZI::GUID guid_value
{
guid.Data1,
guid.Data2,
guid.Data3,
{ guid.Data4[0],guid.Data4[1],guid.Data4[2],guid.Data4[3],guid.Data4[4],guid.Data4[5],guid.Data4[6],guid.Data4[7] } };
{ guid.Data4[0], guid.Data4[1], guid.Data4[2], guid.Data4[3], guid.Data4[4], guid.Data4[5], guid.Data4[6], guid.Data4[7] } };
return guid_value;
#else
std::mt19937 rng;
Expand Down

0 comments on commit da1fa1f

Please sign in to comment.