♻️ make function static
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -664,7 +664,7 @@ class serializer
|
|||||||
* @param[in] byte byte to represent
|
* @param[in] byte byte to represent
|
||||||
* @return representation ("00".."FF")
|
* @return representation ("00".."FF")
|
||||||
*/
|
*/
|
||||||
inline std::string hex_bytes(std::uint8_t byte)
|
static std::string hex_bytes(std::uint8_t byte)
|
||||||
{
|
{
|
||||||
std::string result = "FF";
|
std::string result = "FF";
|
||||||
constexpr const char* nibble_to_hex = "0123456789ABCDEF";
|
constexpr const char* nibble_to_hex = "0123456789ABCDEF";
|
||||||
|
|||||||
@@ -16707,7 +16707,7 @@ class serializer
|
|||||||
* @param[in] byte byte to represent
|
* @param[in] byte byte to represent
|
||||||
* @return representation ("00".."FF")
|
* @return representation ("00".."FF")
|
||||||
*/
|
*/
|
||||||
inline std::string hex_bytes(std::uint8_t byte)
|
static std::string hex_bytes(std::uint8_t byte)
|
||||||
{
|
{
|
||||||
std::string result = "FF";
|
std::string result = "FF";
|
||||||
constexpr const char* nibble_to_hex = "0123456789ABCDEF";
|
constexpr const char* nibble_to_hex = "0123456789ABCDEF";
|
||||||
|
|||||||
Reference in new issue
Block a user