Skip to content

Commit

Permalink
Merge pull request #49 from melton1968/main
Browse files Browse the repository at this point in the history
Two tiny changes to fix compilation errors on the clang / Dawwin platform.
  • Loading branch information
liuzicheng1987 authored Jan 13, 2024
2 parents cc3460c + 6a65d01 commit 5fb4d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/rfl/Result.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <ranges>
#include <span>
#include <stdexcept>
#include <string>
#include <tuple>
#include <type_traits>
#include <variant>
Expand Down
2 changes: 1 addition & 1 deletion include/rfl/internal/StringLiteral.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct StringLiteral {
return std::string_view(std::data(arr_), N - 1);
}

std::array<char, N - 1> arr_;
std::array<char, N - 1> arr_{};
};

template <size_t N1, size_t N2>
Expand Down

0 comments on commit 5fb4d6a

Please sign in to comment.