mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 00:26:19 +08:00
Merge pull request #49 from melton1968/main
Two tiny changes to fix compilation errors on the clang / Dawwin platform.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <ranges>
|
||||
#include <span>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
#include <variant>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user