mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 02:36:18 +08:00
fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte> (#369)
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
#define RFL_BYTESTRING_HPP_
|
||||
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace rfl {
|
||||
|
||||
using Bytestring = std::basic_string<std::byte>;
|
||||
using Bytestring = std::vector<std::byte>;
|
||||
|
||||
} // namespace rfl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user