Skip to content

Commit

Permalink
Merge pull request #18 from uselessgoddess/master
Browse files Browse the repository at this point in the history
[C++] 0.1.3
  • Loading branch information
uselessgoddess authored Jun 25, 2021
2 parents 1230054 + 9894a97 commit 77ae748
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/Platform.Delegates/Platform.Delegates.Delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ namespace Platform::Delegates
static bool AreBoundFunctionsEqual(const DelegateFunctionType &left, const DelegateFunctionType &right)
{
constexpr size_t size = sizeof(DelegateFunctionType);
std::byte leftArray[size] = { {(std::byte)0} };
std::byte rightArray[size] = { {(std::byte)0} };
std::byte leftArray[size] = {(std::byte)0};
std::byte rightArray[size] = {(std::byte)0};
new (&leftArray) DelegateFunctionType(left);
new (&rightArray) DelegateFunctionType(right);
//PrintBytes(leftArray, rightArray, size);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
<releaseNotes>Refactoring to since C++17 standard.
Use Delegate constructor with deductions guides instead CreateDelegate function.
Fixed calling function with rvalue-reference arguments.
Removing C++20 content.
First release version for conan.
</releaseNotes>
<version>0.1.2</version>
<version>0.1.3</version>
<authors>konard, poul250, uselessgoddess</authors>
<owners>konard, poul250, uselessgoddess</owners>
<copyright>konard, poul250, uselessgoddess</copyright>
Expand Down

0 comments on commit 77ae748

Please sign in to comment.