Skip to content

Commit 5fb4d6a

Browse files
Merge pull request #49 from melton1968/main
Two tiny changes to fix compilation errors on the clang / Dawwin platform.
2 parents cc3460c + 6a65d01 commit 5fb4d6a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/rfl/Result.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <ranges>
66
#include <span>
77
#include <stdexcept>
8+
#include <string>
89
#include <tuple>
910
#include <type_traits>
1011
#include <variant>

include/rfl/internal/StringLiteral.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct StringLiteral {
2828
return std::string_view(std::data(arr_), N - 1);
2929
}
3030

31-
std::array<char, N - 1> arr_;
31+
std::array<char, N - 1> arr_{};
3232
};
3333

3434
template <size_t N1, size_t N2>

0 commit comments

Comments
 (0)