mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-02 16:16:19 +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:
+1
-6
@@ -5,15 +5,10 @@
|
||||
```cpp
|
||||
namespace rfl {
|
||||
|
||||
using Bytestring = std::basic_string<std::byte>;
|
||||
using Bytestring = std::vector<std::byte>;
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
For more information on how to handle `std::basic_string` please refer to the
|
||||
relevant documentation:
|
||||
|
||||
https://en.cppreference.com/w/cpp/string/basic_string
|
||||
|
||||
Bytestrings are supported by BSON, CBOR, flexbuffers and msgpack. Textual formats
|
||||
do not support them.
|
||||
|
||||
Reference in New Issue
Block a user