From f4dd79ab4395ad7b95cc45519717ffee50c20132 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 21 Jan 2021 15:12:53 +0100 Subject: [PATCH] Fixed link errors in libimhex --- plugins/libimhex/include/hex/helpers/utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/libimhex/include/hex/helpers/utils.hpp b/plugins/libimhex/include/hex/helpers/utils.hpp index e02a49621..9d062fabe 100644 --- a/plugins/libimhex/include/hex/helpers/utils.hpp +++ b/plugins/libimhex/include/hex/helpers/utils.hpp @@ -76,7 +76,7 @@ namespace hex { namespace hex { - std::string to_string(u128 value) { + inline std::string to_string(u128 value) { char data[45] = { 0 }; u8 index = sizeof(data) - 2; @@ -89,7 +89,7 @@ namespace hex { return std::string(data + index + 1); } - std::string to_string(s128 value) { + inline std::string to_string(s128 value) { char data[45] = { 0 }; u128 unsignedValue = value < 0 ? -value : value;