Address first batch of review comments
This commit is contained in:
parent
041638ea4d
commit
781d4b787a
14 changed files with 91 additions and 131 deletions
|
@ -40,6 +40,9 @@ public:
|
|||
Path() : type(LowPathType::Invalid) {}
|
||||
Path(const char* path) : type(LowPathType::Char), string(path) {}
|
||||
Path(std::vector<u8> binary_data) : type(LowPathType::Binary), binary(std::move(binary_data)) {}
|
||||
template <std::size_t size>
|
||||
Path(std::array<u8, size> binary_data)
|
||||
: type(LowPathType::Binary), binary(binary_data.begin(), binary_data.end()) {}
|
||||
Path(LowPathType type, const std::vector<u8>& data);
|
||||
|
||||
LowPathType GetType() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue