diff options
Diffstat (limited to 'types/raw_address.h')
-rw-r--r-- | types/raw_address.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/types/raw_address.h b/types/raw_address.h index b0035c908..ca750181b 100644 --- a/types/raw_address.h +++ b/types/raw_address.h @@ -18,6 +18,7 @@ #pragma once +#include <array> #include <cstring> #include <string> @@ -29,7 +30,7 @@ class RawAddress final { uint8_t address[kLength]; RawAddress() = default; - RawAddress(const uint8_t (&addr)[6]); + RawAddress(const uint8_t (&addr)[kLength]); bool operator<(const RawAddress& rhs) const { return (std::memcmp(address, rhs.address, sizeof(address)) < 0); |