Skip to content

Commit

Permalink
Merge branch 'rpatters1-get-display-name-const-vs2019-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
veselink1 committed Nov 4, 2021
2 parents 4684ff4 + cedcd44 commit 14c3724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/refl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ namespace refl
constexpr auto substr() const noexcept
{
static_assert(Pos <= N);
constexpr size_t NewSize = std::min(Count, N - Pos);
constexpr size_t NewSize = (std::min)(Count, N - Pos);

char buf[NewSize + 1]{};
for (size_t i = 0; i < NewSize; i++) {
Expand Down

0 comments on commit 14c3724

Please sign in to comment.