Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Mar 24, 2022
1 parent de8dce8 commit b5a410b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/Platform.Data.Doublets/ILinksExtensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ namespace Platform::Data::Doublets
template<typename TStorage>
static typename TStorage::LinkAddressType Update(TStorage& storage, auto&& handler, std::convertible_to<typename TStorage::LinkAddressType> auto ...restrictionPack)
{
constexpr auto length = sizeof...(valuesPack);
typename TStorage::LinkType restriction
constexpr auto length = sizeof...(restrictionPack);
typename TStorage::LinkType restriction;
if constexpr (0 == length)
{
restriction{ storage.Constants.Any, storage.Constants.Any, storage.Constants.Any };
Expand Down

0 comments on commit b5a410b

Please sign in to comment.