Address remaining review comments

This commit is contained in:
fearlessTobi
2019-04-07 15:58:42 +02:00
parent 1517d2fef7
commit e9bd34f7da
4 changed files with 35 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ public:
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)
Path(const std::array<u8, size>& binary_data)
: type(LowPathType::Binary), binary(binary_data.begin(), binary_data.end()) {}
Path(LowPathType type, const std::vector<u8>& data);