Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Jul 25, 2024
1 parent 14cd093 commit 9c98814
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions cpp/include/Ice/SlicedData.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,17 @@ namespace Ice
* @param hasOptionalMembers Whether or not the slice contains optional members.
* @param isLastSlice Whether or not this is the last slice.
*/
SliceInfo(std::string typeId, int compactId, std::vector<std::byte> bytes, bool hasOptionalMembers, bool isLastSlice) noexcept :
typeId(std::move(typeId)),
compactId(compactId),
bytes(std::move(bytes)),
hasOptionalMembers(hasOptionalMembers),
isLastSlice(isLastSlice)
SliceInfo(
std::string typeId,
int compactId,
std::vector<std::byte> bytes,
bool hasOptionalMembers,
bool isLastSlice) noexcept
: typeId(std::move(typeId)),
compactId(compactId),
bytes(std::move(bytes)),
hasOptionalMembers(hasOptionalMembers),
isLastSlice(isLastSlice)
{
}
};
Expand Down

0 comments on commit 9c98814

Please sign in to comment.